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>
This commit is contained in:
committed by
David S. Miller
parent
8cb3b9c364
commit
d9d10a3096
@@ -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
|
* if RFC 3831 IPv6-over-Fibre Channel is ever implemented it may
|
||||||
* also need a pad of 2.
|
* 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) {
|
switch (type) {
|
||||||
case ARPHRD_INFINIBAND: return 2;
|
case ARPHRD_INFINIBAND: return 2;
|
||||||
|
Reference in New Issue
Block a user