Whamcloud - gitweb
- remove unused code
authortappro <tappro>
Sat, 7 Oct 2006 22:13:22 +0000 (22:13 +0000)
committertappro <tappro>
Sat, 7 Oct 2006 22:13:22 +0000 (22:13 +0000)
lustre/mdd/mdd_lov.c

index 00a3043..b2456fa 100644 (file)
@@ -49,13 +49,11 @@ static int mdd_lov_update(struct obd_device *host,
                           enum obd_notify_event ev, void *owner)
 {
         struct mdd_device *mdd = owner;
-        struct obd_device *obd;
         struct md_device *upcall_dev;
         int rc;
         ENTRY;
 
         LASSERT(owner != NULL);
-        obd = mdd2obd_dev(mdd);
 
         upcall_dev = mdd->mdd_md_dev.md_upcall.mu_upcall_dev;