diff options
author | Joe Perches <joe@perches.com> | 2011-07-26 01:17:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-26 01:17:35 +0200 |
commit | 2d348d1f569f051d2609b04d27bb55cd25eda8fe (patch) | |
tree | 877e13a3ae4ac76c7a64911c10f5600a314e56ab /include | |
parent | net: fix eth.c kernel-doc warning (diff) | |
download | linux-2d348d1f569f051d2609b04d27bb55cd25eda8fe.tar.xz linux-2d348d1f569f051d2609b04d27bb55cd25eda8fe.zip |
net: Convert struct net_device uc_promisc to bool
No need to use int, its uses are boolean.
May save a few bytes one day.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 34f3abc6457a..1d92acc0777b 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1132,7 +1132,7 @@ struct net_device { spinlock_t addr_list_lock; struct netdev_hw_addr_list uc; /* Unicast mac addresses */ struct netdev_hw_addr_list mc; /* Multicast mac addresses */ - int uc_promisc; + bool uc_promisc; unsigned int promiscuity; unsigned int allmulti; |