Commit 324dd96d authored by Greg Dietsche's avatar Greg Dietsche Committed by David S. Miller
Browse files

qlge: remove unecessary if statement

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

Signed-off-by: default avatarGreg Dietsche <>
Signed-off-by: default avatarDavid S. Miller <>
parent c97c894d
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment