diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-03-20 20:44:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-20 23:24:06 +0300 |
commit | 5a779c4feda5d52e0f19e48af71b75dd1032a5b8 (patch) | |
tree | 564b3d752e2fae8ac5c9a95823dd81a04c5a71b8 | |
parent | 1e32ec3c8020051432f0b1c2314c8df6057f1b9b (diff) | |
download | linux-5a779c4feda5d52e0f19e48af71b75dd1032a5b8.tar.xz |
net/mlx4: remove unused array zero_gid[]
zero_gid is not used, so remove this redundant array.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mcg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mcg.c b/drivers/net/ethernet/mellanox/mlx4/mcg.c index 42d8de892bfe..6aa73972d478 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mcg.c +++ b/drivers/net/ethernet/mellanox/mlx4/mcg.c @@ -39,8 +39,6 @@ #include "mlx4.h" -static const u8 zero_gid[16]; /* automatically initialized to 0 */ - int mlx4_get_mgm_entry_size(struct mlx4_dev *dev) { return 1 << dev->oper_log_mgm_entry_size; |