[PATCH] net: phy: Remove unused including <linux/version.h>

Subsystems: ethernet phy library, maxlinear ethernet phy driver, networking drivers, the rest

STALE1857d

4 messages, 4 authors, 2021-07-23 · open the first message on its own page

[PATCH] net: phy: Remove unused including <linux/version.h>

From: Jiapeng Chong <hidden>
Date: 2021-07-23 10:38:50

From: chongjiapeng <redacted>

Eliminate the follow versioncheck warning:

./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.

Reported-by: Abaci Robot <redacted>
Signed-off-by: chongjiapeng <redacted>
---
 drivers/net/phy/mxl-gpy.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/net/phy/mxl-gpy.c b/drivers/net/phy/mxl-gpy.c
index 12a02d8..2d5d508 100644
--- a/drivers/net/phy/mxl-gpy.c
+++ b/drivers/net/phy/mxl-gpy.c
@@ -6,7 +6,6 @@
  *
  */
 
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/bitfield.h>
 #include <linux/phy.h>
-- 
1.8.3.1

Re: [PATCH] net: phy: Remove unused including <linux/version.h>

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-07-23 13:07:31

On Fri, Jul 23, 2021 at 06:38:27PM +0800, Jiapeng Chong wrote:
From: chongjiapeng <redacted>

Eliminate the follow versioncheck warning:

./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.

Reported-by: Abaci Robot <redacted>
Signed-off-by: chongjiapeng <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

Re: [PATCH] net: phy: Remove unused including <linux/version.h>

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2021-07-23 13:10:22

On Fri, Jul 23, 2021 at 06:38:27PM +0800, Jiapeng Chong wrote:
From: chongjiapeng <redacted>

Eliminate the follow versioncheck warning:

./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.

Reported-by: Abaci Robot <redacted>
Signed-off-by: chongjiapeng <redacted>
Reviewed-by: Russell King (Oracle) <redacted>

Thanks!

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

Re: [PATCH] net: phy: Remove unused including <linux/version.h>

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-07-23 17:00:12

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Fri, 23 Jul 2021 18:38:27 +0800 you wrote:
From: chongjiapeng <redacted>

Eliminate the follow versioncheck warning:

./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.

Reported-by: Abaci Robot <redacted>
Signed-off-by: chongjiapeng <redacted>

[...]
Here is the summary with links:
  - net: phy: Remove unused including <linux/version.h>
    https://git.kernel.org/netdev/net-next/c/94a994d2b2b7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help