Re: [PATCH][net-next] devlink: use direct return of genlmsg_reply

2019-02-12 Thread David Miller
From: Li RongQing Date: Mon, 11 Feb 2019 19:09:07 +0800 > This can remove redundant check > > Signed-off-by: Li RongQing Applied.

[PATCH][net-next] devlink: use direct return of genlmsg_reply

2019-02-11 Thread Li RongQing
This can remove redundant check Signed-off-by: Li RongQing --- net/core/devlink.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net/core/devlink.c b/net/core/devlink.c index e6a015b8ac9b..76a9d287dbec 100644 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -4355,11