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>
This commit is contained in:
Greg Dietsche 2011-06-05 14:44:13 +00:00 committed by David S. Miller
parent c97c894dc7
commit 324dd96d2b
1 changed files with 0 additions and 2 deletions

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;
}