net: constify netif_is_* helpers net_device param
authorJiri Pirko <jiri@mellanox.com>
Fri, 4 Dec 2015 14:01:31 +0000 (15:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Dec 2015 23:16:27 +0000 (18:16 -0500)
commitb618aaa91b5870e7bd139987ac4b7bf0851142d0
tree1330b1b6bb9669167e9ee26133948defdfd00d9b
parentabd86a55f4079d00ba2a0bcca6fe33be45f3e2ff
net: constify netif_is_* helpers net_device param

As suggested by Eric, these helpers should have const dev param.

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
include/linux/netdevice.h
net/core/dev.c