From: tappro Date: Fri, 12 May 2006 10:28:03 +0000 (+0000) Subject: remove unused variable X-Git-Tag: v1_8_0_110~486^2~1827 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4e43868001f57806fa013a5a6655f17d0699c965;p=fs%2Flustre-release.git remove unused variable --- diff --git a/lustre/cmm/mdc_device.c b/lustre/cmm/mdc_device.c index 308fa91..c4264d0 100644 --- a/lustre/cmm/mdc_device.c +++ b/lustre/cmm/mdc_device.c @@ -111,10 +111,6 @@ static int mdc_add_obd(struct mdc_device *mc, struct lustre_cfg *cfg) rc = -EINVAL; } else { struct lustre_handle conn = {0, }; - struct obd_connect_data conn_data = { - .ocd_connect_flags = OBD_CONNECT_VERSION, - .ocd_version = LUSTRE_VERSION_CODE - }; CDEBUG(D_CONFIG, "connect to %s(%s)\n", mdc->obd_name, mdc->obd_uuid.uuid); @@ -298,7 +294,7 @@ struct lu_device *mdc_device_alloc(struct lu_device_type *ldt, #endif static int mdc_device_init(struct lu_device *ld, struct lu_device *next) { - struct mdc_device *mc = lu2mdc_dev(ld); + /* struct mdc_device *mc = lu2mdc_dev(ld); */ int rc = 0; ENTRY; @@ -308,7 +304,7 @@ static int mdc_device_init(struct lu_device *ld, struct lu_device *next) static struct lu_device *mdc_device_fini(struct lu_device *ld) { - struct mdc_device *mc = lu2mdc_dev(ld); + /* struct mdc_device *mc = lu2mdc_dev(ld); */ ENTRY;