qlcnic: fix unused variable warnings
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Tue, 18 Dec 2012 07:59:50 +0000 (07:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Dec 2012 20:42:48 +0000 (12:42 -0800)
commit5d17f36b9d6b5d94aa3afdc7393ea90efbd74a21
treee832d707d0e0b1e47a4378551d27270beaa692f3
parentd67df2b9edfc42ccc0a9ee5332e2821d487d6b3b
qlcnic: fix unused variable warnings

qlcnic_hw.c:370: warning: variable cmd_desc set but not used
qlcnic_hw.c:368: warning: variable consumer set but not used
qlcnic_main.c:448: warning: variable ref_count set but not used
qlcnic_main.c:534: warning: variable mem_base set but not used
qlcnic_ctx.c:137: warning: variable tmp_tmpl set but not used
qlcnic_ctx.c:133: warning: variable version set but not used
qlcnic_minidump.c:200: warning: variable opcode set but not used

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c