]> git.baikalelectronics.ru Git - kernel.git/commit
net: switchdev: delete switchdev_port_obj_add_now
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 9 Jan 2021 00:01:49 +0000 (02:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jan 2021 00:00:56 +0000 (16:00 -0800)
commit0c16fdc5753de0188da273e8d40732b05e3f81b8
tree5e78fbfb58bb1d7fc51bf605de47cca7d006f9cc
parent262c4a98f5ef46649c66b3d2161db8e72b1bb20e
net: switchdev: delete switchdev_port_obj_add_now

After the removal of the transactional model inside
switchdev_port_obj_add_now, it has no added value and we can just call
switchdev_port_obj_notify directly, bypassing this function. Let's
delete it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/switchdev/switchdev.c