]> git.baikalelectronics.ru Git - kernel.git/commit
net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 27 May 2009 04:42:37 +0000 (04:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2009 22:47:06 +0000 (15:47 -0700)
commit3d034a4a910752fa89b631ce2828789fad18b307
tree095536a47e40fdb621c1f959637fa63f57a4ccf2
parent46e3f46d7ac1da71ee132e522f7c31c67819f3c5
net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()

Use ALIGN() and PTR_ALIGN() macros instead of handcoding them.

Get rid of NETDEV_ALIGN_CONST ugly define

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/mac80211/main.c