From: Ilpo Järvinen Date: Sat, 12 Jan 2008 11:21:50 +0000 (-0800) Subject: [NETLINK] af_netlink: kill some bloat X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f25252675770e08d97bc112e52208e8c70ce0e5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [NETLINK] af_netlink: kill some bloat net/netlink/af_netlink.c: netlink_realloc_groups | -46 netlink_insert | -49 netlink_autobind | -94 netlink_clear_multicast_users | -48 netlink_bind | -55 netlink_setsockopt | -54 netlink_release | -86 netlink_kernel_create | -47 netlink_change_ngroups | -56 9 functions changed, 535 bytes removed, diff: -535 net/netlink/af_netlink.c: netlink_table_ungrab | +53 1 function changed, 53 bytes added, diff: +53 net/netlink/af_netlink.o: 10 functions changed, 53 bytes added, 535 bytes removed, diff: -482 Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index be07f1b45ee2..21f9e30184e2 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -193,7 +193,7 @@ static void netlink_table_grab(void) } } -static inline void netlink_table_ungrab(void) +static void netlink_table_ungrab(void) __releases(nl_table_lock) { write_unlock_irq(&nl_table_lock);