diff options
author | Amir Vadai <amirv@mellanox.com> | 2012-07-18 22:33:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-19 08:34:37 -0700 |
commit | af22d9de45caf8b2a99f2b27a927169c029528b4 (patch) | |
tree | 62299712c84e193a737d5d9e5ce474a01485a9a8 /drivers/net/ethernet/mellanox/mlx4/mcg.c | |
parent | 0cc535a29916c6a0e6e6af0f3d42c2fe3b0b145d (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mcg.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mcg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mcg.c b/drivers/net/ethernet/mellanox/mlx4/mcg.c index 5bac0dfafbd..4ec3835e1bc 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mcg.c +++ b/drivers/net/ethernet/mellanox/mlx4/mcg.c @@ -41,7 +41,6 @@ #define MGM_QPN_MASK 0x00FFFFFF #define MGM_BLCK_LB_BIT 30 -#define MLX4_MAC_MASK 0xffffffffffffULL static const u8 zero_gid[16]; /* automatically initialized to 0 */ |