On Sun, Jul 24, 2011 at 12:00 AM, Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxx> wrote: > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > This patch moves g_lun0_dev and default_lu_gp from their locations in > .c files to proper .h locations to appease sparse. > > diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c > index 9171ff9..175b1d0 100644 > --- a/drivers/target/target_core_alua.c > +++ b/drivers/target/target_core_alua.c > @@ -52,8 +52,6 @@ static u32 alua_lu_gps_count; > static DEFINE_SPINLOCK(lu_gps_lock); > static LIST_HEAD(lu_gps_list); > > -struct t10_alua_lu_gp *default_lu_gp; > - This patch not only moves "extern struct" but also removes two definitions. Were these definitions redundant ? Fubo. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html