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

2016-07-25 Thread David Miller
From: Colin King Date: Fri, 22 Jul 2016 19:04:12 +0100 > From: Colin Ian King > > 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 Applied.

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

2016-07-22 Thread Colin King
From: Colin Ian King 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 --- net/kcm/kcmproc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/kcm/kcmproc.c b/ne