Skip to content

Commit 324dd96

Browse files
farmergregdavem330
authored andcommitted
qlge: remove unecessary if statement
the code always returns 'status' regardless, so if(status) check is unecessary. Signed-off-by: Greg Dietsche <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c97c894 commit 324dd96

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/qlge/qlge_ethtool.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,6 @@ static int ql_set_pauseparam(struct net_device *netdev,
650650
return -EINVAL;
651651

652652
status = ql_mb_set_port_cfg(qdev);
653-
if (status)
654-
return status;
655653
return status;
656654
}
657655

0 commit comments

Comments
 (0)