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)
commit1ce8e7b57b3a4527ef83da1c5c7bd8a6b9d87b56
tree095536a47e40fdb621c1f959637fa63f57a4ccf2
parent0bb32417ff0f6ac385e4eec3ef6641950bbb3694
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