diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2013-05-21 09:27:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-22 14:52:40 -0700 |
commit | 0ce54ce4aaef1389fb8d640271748ace257cb763 (patch) | |
tree | e1dfd4bf205fd2e505cc612eae0d9eaf09d7c5ff /drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | |
parent | 02135582f38e977fd609a7e345d7beb8c9b1c71f (diff) | |
download | op-kernel-dev-0ce54ce4aaef1389fb8d640271748ace257cb763.zip op-kernel-dev-0ce54ce4aaef1389fb8d640271748ace257cb763.tar.gz |
qlcnic: remove netdev->trans_start updates within the driver
Code is removed because netdev->trans_start updates made by the driver
will be ignored by the kernel.
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c index 9a7519f..0da38df 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c @@ -3153,10 +3153,8 @@ qlcnic_check_health(struct qlcnic_adapter *adapter) if (adapter->need_fw_reset) goto detach; - if (adapter->ahw->reset_context && qlcnic_auto_fw_reset) { + if (adapter->ahw->reset_context && qlcnic_auto_fw_reset) qlcnic_reset_hw_context(adapter); - adapter->netdev->trans_start = jiffies; - } return 0; } |