RE: [PATCH -next] [SCSI] mpt3sas: remove unused variables

2013-01-08 Thread Nandigama, Nagalakshmi
-Original Message- From: Bjørn Mork [mailto:bj...@mork.no] Sent: Monday, December 17, 2012 6:55 PM To: Reddy, Sreekanth Cc: linux-scsi@vger.kernel.org; j...@kernel.org; yongjun_...@trendmicro.com.cn; weiyj...@gmail.com; Nandigama, Nagalakshmi Subject: Re: [PATCH -next] [SCSI] mpt3sas

Re: [PATCH -next] [SCSI] mpt3sas: remove unused variables

2012-12-17 Thread Bjørn Mork
writes: > diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c > b/drivers/scsi/mpt3sas/mpt3sas_scsih.c > index ac9dbc2..61a1a45 100644 > --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c > +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c > @@ -2754,13 +2754,11 @@ _scsih_block_io_to_children_attached_directly(s

Re: [PATCH -next] [SCSI] mpt3sas: remove unused variables

2012-12-17 Thread James Bottomley
OK, so I'll give you a B for effort on this one, but: On Wed, 2012-12-12 at 02:26 +0530, sreekanth.re...@lsi.com wrote: > The variable 'chain_flags' and 'phy_number' are initialized but never > used otherwise, > So remove those unused variables. There has to be a From: Wei Yongjun At the begin

[PATCH -next] [SCSI] mpt3sas: remove unused variables

2012-12-11 Thread sreekanth.reddy
The variable 'chain_flags' and 'phy_number' are initialized but never used otherwise, So remove those unused variables. Signed-off-by: Wei Yongjun Acked-by: Sreekanth Reddy --- diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 764f3fe..157746d 100644