summaryrefslogtreecommitdiff
path: root/dissector_netlink.h
diff options
context:
space:
mode:
Diffstat (limited to 'dissector_netlink.h')
-rw-r--r--dissector_netlink.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/dissector_netlink.h b/dissector_netlink.h
index 185881c..9d30e56 100644
--- a/dissector_netlink.h
+++ b/dissector_netlink.h
@@ -12,7 +12,6 @@
extern void dissector_init_netlink(int fnttype);
extern void dissector_cleanup_netlink(void);
-#ifdef HAVE_DISSECTOR_PROTOS
static inline struct protocol *dissector_get_netlink_entry_point(void)
{
return &nlmsg_ops;
@@ -22,16 +21,5 @@ static inline struct protocol *dissector_get_netlink_exit_point(void)
{
return &none_ops;
}
-#else
-static inline struct protocol *dissector_get_netlink_entry_point(void)
-{
- return NULL;
-}
-
-static inline struct protocol *dissector_get_netlink_exit_point(void)
-{
- return NULL;
-}
-#endif /* HAVE_DISSECTOR_PROTOS */
#endif /* DISSECTOR_NETLINK_H */