summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--system-linux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/system-linux.c b/system-linux.c
index c63d8d8..6e5ca28 100644
--- a/system-linux.c
+++ b/system-linux.c
@@ -1945,9 +1945,6 @@ static int system_neigh(struct device *dev, struct device_neighbor *neighbor, in
};
struct nl_msg *msg;
- if (!dev)
- return 1;
-
if (cmd == RTM_NEWNEIGH)
flags |= NLM_F_CREATE | NLM_F_REPLACE;