[PATCH 3/3] remove some useless code in lib/route/cls/u32.c
Cong Wang
xiyou.wangcong at gmail.com
Wed Feb 26 16:35:13 EST 2014
Cc: Thomas Haller <thaller at redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong at gmail.com>
---
lib/route/cls/u32.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/lib/route/cls/u32.c b/lib/route/cls/u32.c
index 567fab9..d303d4b 100644
--- a/lib/route/cls/u32.c
+++ b/lib/route/cls/u32.c
@@ -288,14 +288,6 @@ static void u32_dump_details(struct rtnl_tc *tc, void *data,
print_selector(p, s, u);
nl_dump(p, "\n");
-
-#if 0
-#define U32_ATTR_ACTION 0x040
-#define U32_ATTR_POLICE 0x080
-
- struct nl_data act;
- struct nl_data police;
-#endif
}
static void u32_dump_stats(struct rtnl_tc *tc, void *data,
--
1.8.3.1
More information about the libnl
mailing list