qlcnic: fix checks for auto_fw_reset
authoramit salecha <amit.salecha@qlogic.com>
Wed, 23 Feb 2011 03:21:24 +0000 (03:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Feb 2011 22:23:33 +0000 (14:23 -0800)
commit9ce13ca8fc43f6fbb7ee55a283d44ff2f4ba1c06
treecef01789947efef5431ee1fa79b18be9b7906abb
parent39fc0ce5710c53bad14aaba1a789eec810c556f9
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>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_main.c