diff options
author | amit salecha <amit.salecha@qlogic.com> | 2011-02-23 06:21:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-24 01:23:33 +0300 |
commit | 9ce13ca8fc43f6fbb7ee55a283d44ff2f4ba1c06 (patch) | |
tree | cef01789947efef5431ee1fa79b18be9b7906abb /drivers/net/qlcnic/qlcnic.h | |
parent | 39fc0ce5710c53bad14aaba1a789eec810c556f9 (diff) | |
download | linux-9ce13ca8fc43f6fbb7ee55a283d44ff2f4ba1c06.tar.xz |
qlcnic: fix checks for auto_fw_reset
o Remove checks of 1 for auto_fw_reset module parameter.
auto_fw_reset is of type int and can have value > 1.
o Remove unnecessary #define for 1
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index 44e316fd67b8..fa7f794de29c 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h @@ -867,7 +867,6 @@ struct qlcnic_nic_intr_coalesce { #define LINKEVENT_LINKSPEED_MBPS 0 #define LINKEVENT_LINKSPEED_ENCODED 1 -#define AUTO_FW_RESET_ENABLED 0x01 /* firmware response header: * 63:58 - message type * 57:56 - owner |