]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5da04de41ec32f4b59f40c8de29e6918dc47ea52
tree8482ed6fcc800afefacd40fbf102d0330c0cbda2
parentc861f2a4e31d37056fab58efcadca856fae04656
devlink: Remove redundant free on error path

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

Fixes: 653f98759263 ("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