diff mbox

net/mlx4: remove unused array zero_gid[]

Message ID 1458495896-18074-1-git-send-email-colin.king@canonical.com (mailing list archive)
State Accepted
Headers show

Commit Message

Colin King March 20, 2016, 5:44 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

zero_gid is not used, so remove this redundant array.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/net/ethernet/mellanox/mlx4/mcg.c | 2 --
 1 file changed, 2 deletions(-)

Comments

David Miller March 20, 2016, 8:32 p.m. UTC | #1
From: Colin King <colin.king@canonical.com>
Date: Sun, 20 Mar 2016 17:44:56 +0000

> From: Colin Ian King <colin.king@canonical.com>
> 
> zero_gid is not used, so remove this redundant array.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/ethernet/mellanox/mlx4/mcg.c b/drivers/net/ethernet/mellanox/mlx4/mcg.c
index 42d8de8..6aa7397 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;