diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-12-22 08:52:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-22 22:37:19 -0500 |
commit | b57ef81ff8ffb830e1b3e404d692e55161992d27 (patch) | |
tree | 4c14d18425e3c1f7185677e6f2b618ac4de14a7e /net/netlink/genetlink.c | |
parent | 65c64ce8ee642eb330a4c4d94b664725f2902b44 (diff) |
netlink: af_netlink cleanup (v2)
Don't inline functions that cover several lines, and do inline
the trivial ones. Also make some arguments const.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink/genetlink.c')
-rw-r--r-- | net/netlink/genetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/genetlink.c b/net/netlink/genetlink.c index 28453ae2a97b..21a82410ec7c 100644 --- a/net/netlink/genetlink.c +++ b/net/netlink/genetlink.c @@ -106,7 +106,7 @@ static struct genl_ops *genl_get_cmd(u8 cmd, struct genl_family *family) /* Of course we are going to have problems once we hit * 2^16 alive types, but that can only happen by year 2K */ -static inline u16 genl_generate_id(void) +static u16 genl_generate_id(void) { static u16 id_gen_idx = GENL_MIN_ID; int i; |