devlink: Remove redundant free on error path
authorArkadi Sharshevsky <arkadis@mellanox.com>
Sun, 18 Mar 2018 15:37:22 +0000 (17:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2018 14:59:29 +0000 (10:59 -0400)
commit7fe4d6dcbcb43fe0282d4213fc52be178bb30e91
tree8482ed6fcc800afefacd40fbf102d0330c0cbda2
parent8137a8e2190975ed9060111ce13000792360aba3
devlink: Remove redundant free on error path

The current code performs unneeded free. Remove the redundant skb freeing
during the error path.

Fixes: 1555d204e743 ("devlink: Support for pipeline debug (dpipe)")
Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/devlink.c