]> git.baikalelectronics.ru Git - kernel.git/commit
kcm: remove redundant -ve error check and return path
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Jul 2016 18:04:12 +0000 (19:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jul 2016 18:17:16 +0000 (11:17 -0700)
commit2e7bcb20ae26b41328a055fa530932a5ba41bd1d
tree5348a22ba86609e3510a83c548eb6067f4ec6118
parent6711eaa82f6aabd7a5f527ef9656f689bd4b54a1
kcm: remove redundant -ve error check and return path

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@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/kcm/kcmproc.c