]> git.baikalelectronics.ru Git - kernel.git/commit
net: switchdev: remove stray semicolon in switchdev_handle_fdb_del_to_device shim
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 20 Jul 2021 17:35:56 +0000 (20:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 15:00:16 +0000 (08:00 -0700)
commitdf959636955f8ed2e20d9bc872c35940e56ffcd8
tree449f73fbc0e0adab9802d2ed3e3797ca130af49a
parent5398ad56593897cd4ef74fa630a58be2f444b283
net: switchdev: remove stray semicolon in switchdev_handle_fdb_del_to_device shim

With the semicolon at the end, the compiler sees the shim function as a
declaration and not as a definition, and warns:

'switchdev_handle_fdb_del_to_device' declared 'static' but never defined

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 1e5bcb123266 ("net: switchdev: introduce a fanout helper for SWITCHDEV_FDB_{ADD,DEL}_TO_DEVICE")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/switchdev.h