]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net/mlx4: remove unused array zero_gid[]
authorColin Ian King <colin.king@canonical.com>
Sun, 20 Mar 2016 17:44:56 +0000 (17:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Mar 2016 20:24:06 +0000 (16:24 -0400)
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>
drivers/net/ethernet/mellanox/mlx4/mcg.c

index 42d8de892bfebd39213aa0fa15959f64799780f1..6aa73972d47852ef61ffa3f499d0875e14c5654e 100644 (file)
@@ -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;