Message ID | 20220713141853.2992014-4-jiri@resnulli.us (mailing list archive) |
---|---|
State | Accepted |
Commit | a44c4511ffb2c7387fce6061d20febf75f5399bb |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: devlink: couple of trivial fixes | expand |
diff --git a/net/core/devlink.c b/net/core/devlink.c index 2f22ce33c3ec..a9776ea923ae 100644 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -1724,8 +1724,7 @@ static int devlink_port_new_notify(struct devlink *devlink, if (err) goto out; - err = genlmsg_reply(msg, info); - return err; + return genlmsg_reply(msg, info); out: nlmsg_free(msg);