net/mlx4: Move MAC_MASK to a common place
authorAmir Vadai <amirv@mellanox.com>
Wed, 18 Jul 2012 22:33:49 +0000 (22:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Jul 2012 15:34:37 +0000 (08:34 -0700)
commitaf22d9de45caf8b2a99f2b27a927169c029528b4
tree62299712c84e193a737d5d9e5ce474a01485a9a8
parent0cc535a29916c6a0e6e6af0f3d42c2fe3b0b145d
net/mlx4: Move MAC_MASK to a common place

Define this macro is one common place instead of duplicating it over the code

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
drivers/net/ethernet/mellanox/mlx4/mcg.c
drivers/net/ethernet/mellanox/mlx4/port.c
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
include/linux/mlx4/driver.h