* [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name'
@ 2020-03-19 6:46 YueHaibing
2020-03-19 7:01 ` Leon Romanovsky
2020-03-23 20:09 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2020-03-19 6:46 UTC (permalink / raw)
To: claudiu.manoil, davem; +Cc: netdev, linux-kernel, leonro, YueHaibing
commit ed0a72e0de16 ("net/freescale: Clean drivers from static versions")
leave behind this, remove it .
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/ethernet/freescale/enetc/enetc_pf.c | 1 -
drivers/net/ethernet/freescale/enetc/enetc_vf.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_pf.c b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
index 4e4a49179f0b..85e2b741df41 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_pf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_pf.c
@@ -8,7 +8,6 @@
#include "enetc_pf.h"
#define ENETC_DRV_NAME_STR "ENETC PF driver"
-static const char enetc_drv_name[] = ENETC_DRV_NAME_STR;
static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr)
{
diff --git a/drivers/net/ethernet/freescale/enetc/enetc_vf.c b/drivers/net/ethernet/freescale/enetc/enetc_vf.c
index 28a786b2f3e7..f14576212a0e 100644
--- a/drivers/net/ethernet/freescale/enetc/enetc_vf.c
+++ b/drivers/net/ethernet/freescale/enetc/enetc_vf.c
@@ -5,7 +5,6 @@
#include "enetc.h"
#define ENETC_DRV_NAME_STR "ENETC VF driver"
-static const char enetc_drv_name[] = ENETC_DRV_NAME_STR;
/* Messaging */
static void enetc_msg_vsi_write_msg(struct enetc_hw *hw,
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name'
2020-03-19 6:46 [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name' YueHaibing
@ 2020-03-19 7:01 ` Leon Romanovsky
2020-03-23 20:09 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Leon Romanovsky @ 2020-03-19 7:01 UTC (permalink / raw)
To: YueHaibing; +Cc: claudiu.manoil, davem, netdev, linux-kernel
On Thu, Mar 19, 2020 at 02:46:37PM +0800, YueHaibing wrote:
> commit ed0a72e0de16 ("net/freescale: Clean drivers from static versions")
> leave behind this, remove it .
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/net/ethernet/freescale/enetc/enetc_pf.c | 1 -
> drivers/net/ethernet/freescale/enetc/enetc_vf.c | 1 -
> 2 files changed, 2 deletions(-)
>
Fixes: ed0a72e0de16 ("net/freescale: Clean drivers from static versions")
Thanks a lot.
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name'
2020-03-19 6:46 [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name' YueHaibing
2020-03-19 7:01 ` Leon Romanovsky
@ 2020-03-23 20:09 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-03-23 20:09 UTC (permalink / raw)
To: yuehaibing; +Cc: claudiu.manoil, netdev, linux-kernel, leonro
From: YueHaibing <yuehaibing@huawei.com>
Date: Thu, 19 Mar 2020 14:46:37 +0800
> commit ed0a72e0de16 ("net/freescale: Clean drivers from static versions")
> leave behind this, remove it .
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-23 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 6:46 [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name' YueHaibing
2020-03-19 7:01 ` Leon Romanovsky
2020-03-23 20:09 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).