Re: [PATCH 3/6] qla2xxx: remove obvious warnings

Nicholas A. Bellinger
2012-03-15T21:37:23Z

On Thu, 2012-03-15 at 15:06 -0400, Jörn Engel wrote:
> Get rid of a bunch of write-only variables. In a number of cases I
> suspect actual bugs to be present, so I left all of those for a second
> look.
>
> Signed-off-by: Joern Engel <joern@logfs.org>
> ---
> drivers/scsi/qla2xxx/qla_attr.c | 2 --
> drivers/scsi/qla2xxx/qla_bsg.c | 2 --
> drivers/scsi/qla2xxx/qla_dbg.c | 9 ---------
> drivers/scsi/qla2xxx/qla_init.c | 2 --
> drivers/scsi/qla2xxx/qla_iocb.c | 17 ++---------------
> drivers/scsi/qla2xxx/qla_isr.c | 2 --
> drivers/scsi/qla2xxx/qla_mbx.c | 4 ----
> drivers/scsi/qla2xxx/qla_mid.c | 3 +--
> drivers/scsi/qla2xxx/qla_nx.c | 9 +++------
> drivers/scsi/qla2xxx/qla_os.c | 8 +-------
> drivers/scsi/qla2xxx/qla_target.c | 8 ++------
> 11 files changed, 9 insertions(+), 57 deletions(-)
>

This patch does not apply against lio-core HEAD, and since some of this
code is not directly target related, those pieces should be going
through the scsi tree.

--nab