qlge: remove unecessary if statement

the code always returns 'status' regardless, so if(status) check is unecessary.

Signed-off-by: Greg Dietsche <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Greg Dietsche
2011-06-06 22:53:13 -07:00
committed by David S. Miller
parent c97c894dc7
commit 324dd96d2b
-2
View File
@@ -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;
}