forked from luck/tmp_suning_uos_patched
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:
parent
c97c894dc7
commit
324dd96d2b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user