Skip to content

Commit

Permalink
net/mlx4: remove unused array zero_gid[]
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and David S. Miller committed Mar 20, 2016
1 parent 1e32ec3 commit 5a779c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/mellanox/mlx4/mcg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5a779c4

Please sign in to comment.