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

qlge: remove unecessary if statement

the code always returns 'status' regardless, so if(status) check is unecessary.
Signed-off-by: default avatarGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
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;
}
......
Markdown is supported
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