Skip to content

Commit 5a779c4

Browse files
Colin Ian Kingdavem330
authored andcommitted
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>
1 parent 1e32ec3 commit 5a779c4

File tree

1 file changed

+0
-2
lines changed
  • drivers/net/ethernet/mellanox/mlx4

1 file changed

+0
-2
lines changed

drivers/net/ethernet/mellanox/mlx4/mcg.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939

4040
#include "mlx4.h"
4141

42-
static const u8 zero_gid[16]; /* automatically initialized to 0 */
43-
4442
int mlx4_get_mgm_entry_size(struct mlx4_dev *dev)
4543
{
4644
return 1 << dev->oper_log_mgm_entry_size;

0 commit comments

Comments
 (0)