* [PATCH net-next] mlxsw: switchib: Remove unused including <generated/utsrelease.h>
@ 2016-11-01 15:14 Wei Yongjun
2016-11-01 15:44 ` Jiri Pirko
2016-11-02 12:49 ` [PATCH net-next v2] mlxsw: " Wei Yongjun
0 siblings, 2 replies; 5+ messages in thread
From: Wei Yongjun @ 2016-11-01 15:14 UTC (permalink / raw)
To: Jiri Pirko, Ido Schimmel; +Cc: Wei Yongjun, netdev
From: Wei Yongjun <weiyongjun1@huawei.com>
Remove including <generated/utsrelease.h> that don't need it.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
drivers/net/ethernet/mellanox/mlxsw/switchib.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchib.c b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
index ec0b27e..1552594 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/switchib.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
@@ -43,7 +43,6 @@
#include <linux/skbuff.h>
#include <linux/if_vlan.h>
#include <net/switchdev.h>
-#include <generated/utsrelease.h>
#include "pci.h"
#include "core.h"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH net-next] mlxsw: switchib: Remove unused including <generated/utsrelease.h>
2016-11-01 15:14 [PATCH net-next] mlxsw: switchib: Remove unused including <generated/utsrelease.h> Wei Yongjun
@ 2016-11-01 15:44 ` Jiri Pirko
2016-11-02 12:49 ` [PATCH net-next v2] mlxsw: " Wei Yongjun
1 sibling, 0 replies; 5+ messages in thread
From: Jiri Pirko @ 2016-11-01 15:44 UTC (permalink / raw)
To: Wei Yongjun; +Cc: Jiri Pirko, Ido Schimmel, Wei Yongjun, netdev
Tue, Nov 01, 2016 at 04:14:08PM CET, weiyj.lk@gmail.com wrote:
>From: Wei Yongjun <weiyongjun1@huawei.com>
>
>Remove including <generated/utsrelease.h> that don't need it.
>
>Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
>---
> drivers/net/ethernet/mellanox/mlxsw/switchib.c | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchib.c b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
>index ec0b27e..1552594 100644
>--- a/drivers/net/ethernet/mellanox/mlxsw/switchib.c
>+++ b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
>@@ -43,7 +43,6 @@
> #include <linux/skbuff.h>
> #include <linux/if_vlan.h>
> #include <net/switchdev.h>
>-#include <generated/utsrelease.h>
I believe it is not needed so spectrum.c and switchx2.x. Would you
please extend your patch to remove from there as well? Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH net-next v2] mlxsw: Remove unused including <generated/utsrelease.h>
2016-11-01 15:14 [PATCH net-next] mlxsw: switchib: Remove unused including <generated/utsrelease.h> Wei Yongjun
2016-11-01 15:44 ` Jiri Pirko
@ 2016-11-02 12:49 ` Wei Yongjun
2016-11-02 12:57 ` Jiri Pirko
2016-11-02 19:35 ` David Miller
1 sibling, 2 replies; 5+ messages in thread
From: Wei Yongjun @ 2016-11-02 12:49 UTC (permalink / raw)
To: Jiri Pirko, Ido Schimmel; +Cc: Wei Yongjun, netdev
From: Wei Yongjun <weiyongjun1@huawei.com>
Remove including <generated/utsrelease.h> that don't need it.
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
v1 -> v2: remove from spectrum.c and switchx2.c
---
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 1 -
drivers/net/ethernet/mellanox/mlxsw/switchib.c | 1 -
drivers/net/ethernet/mellanox/mlxsw/switchx2.c | 1 -
3 files changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
index 8bca020..a5433e4 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.c
@@ -54,7 +54,6 @@
#include <linux/dcbnl.h>
#include <linux/inetdevice.h>
#include <net/switchdev.h>
-#include <generated/utsrelease.h>
#include <net/pkt_cls.h>
#include <net/tc_act/tc_mirred.h>
#include <net/netevent.h>
diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchib.c b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
index ec0b27e..1552594 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/switchib.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
@@ -43,7 +43,6 @@
#include <linux/skbuff.h>
#include <linux/if_vlan.h>
#include <net/switchdev.h>
-#include <generated/utsrelease.h>
#include "pci.h"
#include "core.h"
diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchx2.c b/drivers/net/ethernet/mellanox/mlxsw/switchx2.c
index 5208764..60f19fb 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/switchx2.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/switchx2.c
@@ -45,7 +45,6 @@
#include <linux/skbuff.h>
#include <linux/if_vlan.h>
#include <net/switchdev.h>
-#include <generated/utsrelease.h>
#include "pci.h"
#include "core.h"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2] mlxsw: Remove unused including <generated/utsrelease.h>
2016-11-02 12:49 ` [PATCH net-next v2] mlxsw: " Wei Yongjun
@ 2016-11-02 12:57 ` Jiri Pirko
2016-11-02 19:35 ` David Miller
1 sibling, 0 replies; 5+ messages in thread
From: Jiri Pirko @ 2016-11-02 12:57 UTC (permalink / raw)
To: Wei Yongjun; +Cc: Jiri Pirko, Ido Schimmel, Wei Yongjun, netdev
Wed, Nov 02, 2016 at 01:49:57PM CET, weiyj.lk@gmail.com wrote:
>From: Wei Yongjun <weiyongjun1@huawei.com>
>
>Remove including <generated/utsrelease.h> that don't need it.
>
>Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net-next v2] mlxsw: Remove unused including <generated/utsrelease.h>
2016-11-02 12:49 ` [PATCH net-next v2] mlxsw: " Wei Yongjun
2016-11-02 12:57 ` Jiri Pirko
@ 2016-11-02 19:35 ` David Miller
1 sibling, 0 replies; 5+ messages in thread
From: David Miller @ 2016-11-02 19:35 UTC (permalink / raw)
To: weiyj.lk; +Cc: jiri, idosch, weiyongjun1, netdev
From: Wei Yongjun <weiyj.lk@gmail.com>
Date: Wed, 2 Nov 2016 12:49:57 +0000
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Remove including <generated/utsrelease.h> that don't need it.
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-11-02 19:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-01 15:14 [PATCH net-next] mlxsw: switchib: Remove unused including <generated/utsrelease.h> Wei Yongjun
2016-11-01 15:44 ` Jiri Pirko
2016-11-02 12:49 ` [PATCH net-next v2] mlxsw: " Wei Yongjun
2016-11-02 12:57 ` Jiri Pirko
2016-11-02 19:35 ` 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).