2020-05-07 13:27:05

by chenzhou

[permalink] [raw]
Subject: [PATCH -next] cxgb4: remove duplicate headers

Remove duplicate headers which are included twice.

Signed-off-by: Chen Zhou <[email protected]>
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
index e46a14f44a6f..30d25a37fc3b 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
@@ -466,8 +466,6 @@ static inline struct mbox_cmd *mbox_cmd_log_entry(struct mbox_cmd_log *log,
return &((struct mbox_cmd *)&(log)[1])[entry_idx];
}

-#include "t4fw_api.h"
-
#define FW_VERSION(chip) ( \
FW_HDR_FW_VER_MAJOR_G(chip##FW_VERSION_MAJOR) | \
FW_HDR_FW_VER_MINOR_G(chip##FW_VERSION_MINOR) | \
--
2.20.1


2020-05-07 20:28:20

by David Miller

[permalink] [raw]
Subject: Re: [PATCH -next] cxgb4: remove duplicate headers

From: Chen Zhou <[email protected]>
Date: Thu, 7 May 2020 21:26:39 +0800

> Remove duplicate headers which are included twice.
>
> Signed-off-by: Chen Zhou <[email protected]>

Applied.