Re: [PATCH] kcm: remove redundant -ve error check and return path

From: David Miller
Date: Mon Jul 25 2016 - 14:17:47 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Fri, 22 Jul 2016 19:04:12 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The check for a -ve error is redundant, remove it and just
> immediately return the return value from the call to
> seq_open_net.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.