OSDN Git Service

net: move net_unlink_todo() out of the header
authorJohannes Berg <johannes.berg@intel.com>
Fri, 25 Mar 2022 21:50:23 +0000 (22:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Mar 2022 21:40:08 +0000 (14:40 -0700)
commitf32404ae1bb9a7428a3c77419672a28895d185bf
treecf7e947462d80e113e150c899330d8f1b091b7f5
parent6da69b1da130e7d96766042750cd9f902e890eba
net: move net_unlink_todo() out of the header

There's no reason for this to be in netdevice.h, it's all
just used in dev.c. Also make it no longer inline and let
the compiler decide to do that by itself.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220325225023.f49b9056fe1c.I6b901a2df00000837a9bd251a8dd259bd23f5ded@changeid
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h
net/core/dev.c