Skip to contentSkip to conversation

remove unnecessary header file inclusion

PATCH In review ZHAO Gang 3 participants 3 messages Sep 13, 2013

Subsystems (3)
lore
Share & tools
lore

ZHAO Gang

author
#0 lore raw

PATCH 1/1 remove unnecessary header file inclusion

file linux/fib_rules.h doesn't exist, so remove it.

---
 include/net/fib_rules.h | 1 -
 1 file changed, 1 deletion(-)
include/net/fib_rules.h +0 -1
index 4b2b557..c816f91 100644
@@ -4,7 +4,6 @@
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <linux/netdevice.h>
-#include <linux/fib_rules.h>
 #include <net/flow.h>
 #include <net/rtnetlink.h>
 
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 1 line · ZHAO Gang

file linux/fib_rules.h doesn't exist, so remove it.

Do you think people wouldn't notice #include of a nonexistent file? gcc is quite good at complaining about them...

It's now called include/uapi/linux/fib_rules.h.

Ben.

Quoted 17 lines
---
 include/net/fib_rules.h | 1 -
 1 file changed, 1 deletion(-)
include/net/fib_rules.h +0 -1
index 4b2b557..c816f91 100644
@@ -4,7 +4,6 @@
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <linux/netdevice.h>
-#include <linux/fib_rules.h>
 #include <net/flow.h>
 #include <net/rtnetlink.h>
 
Signature · 3 lines
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.