diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2011-06-05 18:44:13 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-07 09:53:13 +0400 |
commit | 324dd96d2b022595b9fc8f24305b3ab770cc63b9 (patch) | |
tree | eb450a7394ab410cb2911e307c6320c26a5170af /drivers/net/qlge/qlge_ethtool.c | |
parent | c97c894dc7bcae28d0308dbcd010185079de4a28 (diff) | |
download | linux-324dd96d2b022595b9fc8f24305b3ab770cc63b9.tar.xz |
qlge: remove unecessary if statement
the code always returns 'status' regardless, so if(status) check is unecessary.
Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge_ethtool.c')
-rw-r--r-- | drivers/net/qlge/qlge_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/qlge/qlge_ethtool.c b/drivers/net/qlge/qlge_ethtool.c index 19b00fa0eaf0..9b67bfea035f 100644 --- a/drivers/net/qlge/qlge_ethtool.c +++ b/drivers/net/qlge/qlge_ethtool.c @@ -650,8 +650,6 @@ static int ql_set_pauseparam(struct net_device *netdev, return -EINVAL; status = ql_mb_set_port_cfg(qdev); - if (status) - return status; return status; } |