Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

qede: remove linux/version.h and linux/compiler.h

make versioncheck reports the following:
./drivers/net/ethernet/qlogic/qede/qede.h: 10 linux/version.h not needed.
./drivers/net/ethernet/qlogic/qede/qede_ethtool.c: 7 linux/version.h not needed.

So remove linux/version.h from both of these files. Also remove
linux/compiler.h while at it as it is also not being used.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230309225206.2473644-1-usama.anjum@collabora.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Muhammad Usama Anjum and committed by
Jakub Kicinski
95b74450 05ccd8d8

-3
-2
drivers/net/ethernet/qlogic/qede/qede.h
··· 6 6 7 7 #ifndef _QEDE_H_ 8 8 #define _QEDE_H_ 9 - #include <linux/compiler.h> 10 - #include <linux/version.h> 11 9 #include <linux/workqueue.h> 12 10 #include <linux/netdevice.h> 13 11 #include <linux/interrupt.h>
-1
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
··· 4 4 * Copyright (c) 2019-2020 Marvell International Ltd. 5 5 */ 6 6 7 - #include <linux/version.h> 8 7 #include <linux/types.h> 9 8 #include <linux/netdevice.h> 10 9 #include <linux/etherdevice.h>