2021-07-23 10:40:22

by Jiapeng Chong

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

From: chongjiapeng <[email protected]>

Eliminate the follow versioncheck warning:

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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: chongjiapeng <[email protected]>
---
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


2021-07-23 13:11:50

by Andrew Lunn

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

On Fri, Jul 23, 2021 at 06:38:27PM +0800, Jiapeng Chong wrote:
> From: chongjiapeng <[email protected]>
>
> Eliminate the follow versioncheck warning:
>
> ./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: chongjiapeng <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew

2021-07-23 13:12:08

by Russell King (Oracle)

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

On Fri, Jul 23, 2021 at 06:38:27PM +0800, Jiapeng Chong wrote:
> From: chongjiapeng <[email protected]>
>
> Eliminate the follow versioncheck warning:
>
> ./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: chongjiapeng <[email protected]>

Reviewed-by: Russell King (Oracle) <[email protected]>

Thanks!

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

2021-07-23 17:03:42

by patchwork-bot+netdevbpf

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

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 <[email protected]>
>
> Eliminate the follow versioncheck warning:
>
> ./drivers/net/phy/mxl-gpy.c: 9 linux/version.h not needed.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: chongjiapeng <[email protected]>
>
> [...]

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