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

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

flat view

From: Jiri Pirko <jiri@resnulli.us>
Date: 2016-09-23 12:15:21
Also in: lkml

Fri, Sep 23, 2016 at 01:02:45PM CEST, colin.king@canonical.com wrote:
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>
Acked-by: Jiri Pirko <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help