Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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 <Gregory.Dietsche@cuw.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c97c894d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}