diff --git a/Alignment/OfflineValidation/plugins/TrackerOfflineValidation.cc b/Alignment/OfflineValidation/plugins/TrackerOfflineValidation.cc index e4fc817489f87..af17c9dd50655 100644 --- a/Alignment/OfflineValidation/plugins/TrackerOfflineValidation.cc +++ b/Alignment/OfflineValidation/plugins/TrackerOfflineValidation.cc @@ -382,9 +382,6 @@ TrackerOfflineValidation::~TrackerOfflineValidation() void TrackerOfflineValidation::checkBookHists(const edm::EventSetup& es) { - if(lastSetup_==nullptr){ - lastSetup_ = &es; - } es.get().get( tkGeom_ ); const TrackerGeometry *newBareTkGeomPtr = &(*tkGeom_); if (newBareTkGeomPtr == bareTkGeomPtr_) return; // already booked hists, nothing changed