diff options
author | Joe Perches <joe@perches.com> | 2013-07-30 19:31:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-01 00:18:17 +0200 |
commit | d9d10a30964504af834d8d250a0c76d4ae91eb1e (patch) | |
tree | 53f6052c6bda3fccd41bd7df83b92b5b2ee3ea37 /include/net/ndisc.h | |
parent | net_sched: info leak in atm_tc_dump_class() (diff) | |
download | linux-d9d10a30964504af834d8d250a0c76d4ae91eb1e.tar.xz linux-d9d10a30964504af834d8d250a0c76d4ae91eb1e.zip |
ndisc: Add missing inline to ndisc_addr_option_pad
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | include/net/ndisc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 949d77528f2f..6fea32340ae8 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h @@ -119,7 +119,7 @@ extern struct ndisc_options *ndisc_parse_options(u8 *opt, int opt_len, * if RFC 3831 IPv6-over-Fibre Channel is ever implemented it may * also need a pad of 2. */ -static int ndisc_addr_option_pad(unsigned short type) +static inline int ndisc_addr_option_pad(unsigned short type) { switch (type) { case ARPHRD_INFINIBAND: return 2; |