Whamcloud - gitweb
LU-8403 obd: remove OBD_NOTIFY_CREATE
[fs/lustre-release.git] / lustre / lov / lov_obd.c
index 5a52072..3744334 100644 (file)
@@ -617,8 +617,6 @@ static int lov_add_target(struct obd_device *obd, struct obd_uuid *uuidp,
         CDEBUG(D_CONFIG, "idx=%d ltd_gen=%d ld_tgt_count=%d\n",
                 index, tgt->ltd_gen, lov->desc.ld_tgt_count);
 
-        rc = obd_notify(obd, tgt_obd, OBD_NOTIFY_CREATE, &index);
-
         if (lov->lov_connects == 0) {
                 /* lov_connect hasn't been called yet. We'll do the
                    lov_connect_obd on this target when that fn first runs,