Whamcloud - gitweb
LU-8403 obd: remove unused data parameter from obd_notify()
[fs/lustre-release.git] / lustre / mdc / mdc_request.c
index f0b9e71..2426ce8 100644 (file)
@@ -2519,7 +2519,7 @@ static int mdc_import_event(struct obd_device *obd, struct obd_import *imp,
                if (cli->cl_seq != NULL)
                        seq_client_flush(cli->cl_seq);
 
-               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_INACTIVE, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_INACTIVE);
                break;
        }
        case IMP_EVENT_INVALIDATE: {
@@ -2530,13 +2530,13 @@ static int mdc_import_event(struct obd_device *obd, struct obd_import *imp,
                break;
        }
        case IMP_EVENT_ACTIVE:
-               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_ACTIVE, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_ACTIVE);
                /* redo the kuc registration after reconnecting */
                if (rc == 0)
                        rc = mdc_kuc_reregister(imp);
                break;
        case IMP_EVENT_OCD:
-               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_OCD, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_OCD);
                break;
        case IMP_EVENT_DISCON:
        case IMP_EVENT_DEACTIVATE: