projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c97c894
)
qlge: remove unecessary if statement
author
Greg Dietsche
<Gregory.Dietsche@cuw.edu>
Sun, 5 Jun 2011 14:44:13 +0000
(14:44 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Jun 2011 05:53:13 +0000
(22:53 -0700)
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>
drivers/net/qlge/qlge_ethtool.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/qlge/qlge_ethtool.c
b/drivers/net/qlge/qlge_ethtool.c
index 19b00fa0eaf0205b7e5c901a738ff6b747d7eea9..9b67bfea035ff6082cb05c0a48fcf16f1819d607 100644
(file)
--- 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;
}