Skip to content

Commit

Permalink
qlge: remove unecessary if statement
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Dietsche authored and David S. Miller committed Jun 7, 2011
1 parent c97c894 commit 324dd96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/qlge/qlge_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 324dd96

Please sign in to comment.