Thread (3 messages) 3 messages, 3 authors, 2016-09-24

Re: [PATCH] mlxsw: spectrum: remove redundant check if err is zero

flat view

From: David Miller <davem@davemloft.net>
Date: 2016-09-24 12:28:48
Also in: lkml

From: Colin King <redacted>
Date: Fri, 23 Sep 2016 12:02:45 +0100
From: Colin Ian King <redacted>

There is an earlier check and return if err is non-zero, so
the check to see if it is zero is redundant in every iteration
of the loop and hence the check can be removed.

Signed-off-by: Colin Ian King <redacted>
Applied to net-next.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help