projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adcfe19
)
decnet: Remove unused FIB metric macros.
author
David S. Miller
<davem@davemloft.net>
Sun, 28 Mar 2010 02:23:46 +0000
(19:23 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 28 Mar 2010 02:23:46 +0000
(19:23 -0700)
Unlike the ipv4 side, these are completely unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dn_fib.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/dn_fib.h
b/include/net/dn_fib.h
index 52da6c3dd50df6a1dd016546f679b5991bf006f6..bbcde3238e580b1d1a906c6fbc31afad0d518759 100644
(file)
--- a/
include/net/dn_fib.h
+++ b/
include/net/dn_fib.h
@@
-50,10
+50,6
@@
struct dn_fib_info {
__le16 fib_prefsrc;
__u32 fib_priority;
__u32 fib_metrics[RTAX_MAX];
-#define dn_fib_mtu fib_metrics[RTAX_MTU-1]
-#define dn_fib_window fib_metrics[RTAX_WINDOW-1]
-#define dn_fib_rtt fib_metrics[RTAX_RTT-1]
-#define dn_fib_advmss fib_metrics[RTAX_ADVMSS-1]
int fib_nhs;
int fib_power;
struct dn_fib_nh fib_nh[0];