Whamcloud - gitweb
LU-8403 obd: remove unused data parameter from obd_notify()
[fs/lustre-release.git] / lustre / osc / osc_request.c
index 9f541e5..4060d23 100644 (file)
@@ -2647,7 +2647,7 @@ static int osc_import_event(struct obd_device *obd,
                 break;
         }
         case IMP_EVENT_INACTIVE: {
-                rc = obd_notify_observer(obd, obd, OBD_NOTIFY_INACTIVE, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_INACTIVE);
                 break;
         }
         case IMP_EVENT_INVALIDATE: {
@@ -2672,7 +2672,7 @@ static int osc_import_event(struct obd_device *obd,
                 break;
         }
         case IMP_EVENT_ACTIVE: {
-                rc = obd_notify_observer(obd, obd, OBD_NOTIFY_ACTIVE, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_ACTIVE);
                 break;
         }
         case IMP_EVENT_OCD: {
@@ -2685,15 +2685,15 @@ static int osc_import_event(struct obd_device *obd,
                 if (ocd->ocd_connect_flags & OBD_CONNECT_REQPORTAL)
                         imp->imp_client->cli_request_portal =OST_REQUEST_PORTAL;
 
-                rc = obd_notify_observer(obd, obd, OBD_NOTIFY_OCD, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_OCD);
                 break;
         }
         case IMP_EVENT_DEACTIVATE: {
-                rc = obd_notify_observer(obd, obd, OBD_NOTIFY_DEACTIVATE, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_DEACTIVATE);
                 break;
         }
         case IMP_EVENT_ACTIVATE: {
-                rc = obd_notify_observer(obd, obd, OBD_NOTIFY_ACTIVATE, NULL);
+               rc = obd_notify_observer(obd, obd, OBD_NOTIFY_ACTIVATE);
                 break;
         }
         default: