summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2014-02-26 21:35:13 (GMT)
committerThomas Haller <thaller@redhat.com>2014-02-27 10:32:16 (GMT)
commitcdfdfb16d0da646995792d7c67ae1ddca9017771 (patch)
treece8886fcdeba4affe94aff16f4d147ffc97f4785
parent59547d2d45315641fad3f6b74dab9951b4f7795e (diff)
downloadlibnl-cdfdfb16d0da646995792d7c67ae1ddca9017771.zip
libnl-cdfdfb16d0da646995792d7c67ae1ddca9017771.tar.gz
libnl-cdfdfb16d0da646995792d7c67ae1ddca9017771.tar.bz2
remove some useless code in lib/route/cls/u32.c
Cc: Thomas Haller <thaller@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--lib/route/cls/u32.c8
1 files changed, 0 insertions, 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,