net/smc: remove unneeded include for smc.h
Subsystems (4)
PATCH 1/1 net/smc: remove unneeded include for smc.h
The only smc-related reference in net/sock.h is struct smc_hashinfo. But just its address is refered to. Thus there is no need for the include of net/smc.h. Remove it.
Suggested-by Jakub Kicinski <[email protected]>
Reviewed by: Karsten Graul <[email protected]>
Signed-off-by Ursula Braun <[email protected]>
--- include/net/sock.h | 1 - 1 file changed, 1 deletion(-)
include/net/sock.h +0 -1
@@ -66,7 +66,6 @@#include <net/checksum.h> #include <net/tcp_states.h> #include <linux/net_tstamp.h> -#include <net/smc.h> #include <net/l3mdev.h> /*
Signature · 1 line
2.17.1
From: Ursula Braun <[email protected]>
Date: Tue, 29 Oct 2019 12:43:46 +0100
Quoted 7 lines
The only smc-related reference in
net/sock.his structsmc_hashinfo. But just its address is refered to. Thus there is no need for the include ofnet/smc.h. Remove it.Suggested-by Jakub Kicinski <[email protected]>Reviewed by: Karsten Graul <[email protected]>
Signed-off-by Ursula Braun <[email protected]>
Applied, thanks.