Skip to contentSkip to conversation

net/smc: remove unneeded include for smc.h

PATCH Applied Ursula Braun 2 participants 2 messages Oct 29, 2019 – Oct 30, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

Reviewed by: Karsten Graul <[email protected]>

---
 include/net/sock.h | 1 -
 1 file changed, 1 deletion(-)
include/net/sock.h +0 -1
index 380312cc67a9..09c26a5ecbff 100644
@@ -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