Skip to content

Commit dfc379c

Browse files
committed
rgw/services: don't expose RGWServices::notify
RGWSI_Notify is only used internally by RGWSI_SysObj_Cache where the dependency is injected to RGWSI_SysObj_Cache::init(). there's no need to expose a pointer to RGWSI_Notify to the rest of the application, especially now that it can be a nullptr Signed-off-by: Casey Bodley <[email protected]>
1 parent 3b7b7da commit dfc379c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/rgw/driver/rados/rgw_service.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ int RGWServices::do_init(CephContext *_cct, rgw::sal::RadosStore* driver, bool h
282282
config_key = config_key_rados;
283283
datalog_rados = _svc.datalog_rados.get();
284284
mdlog = _svc.mdlog.get();
285-
notify = _svc.notify.get();
286285
zone = _svc.zone.get();
287286
zone_utils = _svc.zone_utils.get();
288287
quota = _svc.quota.get();

src/rgw/driver/rados/rgw_service.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ struct RGWServices
132132
RGWSI_ConfigKey *config_key{nullptr};
133133
RGWDataChangesLog *datalog_rados{nullptr};
134134
RGWSI_MDLog *mdlog{nullptr};
135-
RGWSI_Notify *notify{nullptr};
136135
RGWSI_Zone *zone{nullptr};
137136
RGWSI_ZoneUtils *zone_utils{nullptr};
138137
RGWSI_Quota *quota{nullptr};

0 commit comments

Comments
 (0)