diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-01-07 17:10:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 03:35:27 -0500 |
commit | 581e8ae49ea3a70b438991e388ded2dcbdbd2162 (patch) | |
tree | 7fcf1acc5f67548f8cda89d535734c53c1128e1f /drivers/net/netxen/netxen_nic_init.c | |
parent | 011f4ea09768fdf6f95e3781cba2ed681a2ac710 (diff) |
netxen: fix smatch warning
o Fix pointless assignments
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_init.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_init.c b/drivers/net/netxen/netxen_nic_init.c index 925b69958da5..64cff68d372c 100644 --- a/drivers/net/netxen/netxen_nic_init.c +++ b/drivers/net/netxen/netxen_nic_init.c | |||
@@ -784,7 +784,7 @@ netxen_need_fw_reset(struct netxen_adapter *adapter) | |||
784 | if (NXRD32(adapter, CRB_CMDPEG_STATE) == PHAN_INITIALIZE_FAILED) | 784 | if (NXRD32(adapter, CRB_CMDPEG_STATE) == PHAN_INITIALIZE_FAILED) |
785 | return 1; | 785 | return 1; |
786 | 786 | ||
787 | old_count = count = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); | 787 | old_count = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); |
788 | 788 | ||
789 | for (i = 0; i < 10; i++) { | 789 | for (i = 0; i < 10; i++) { |
790 | 790 | ||