system-dummy: fix missing return
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 Jun 2020 11:26:46 +0000 (13:26 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 Jun 2020 11:26:46 +0000 (13:26 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
system-dummy.c

index ab1a1b26b6f291daf5a86758e48f5ebfd11421f0..0b1f1e0b8ede4fe4c0e494df0dea4c5529d64eb6 100644 (file)
@@ -208,7 +208,9 @@ static int system_neighbor_msg(struct device *dev, struct device_neighbor *neigh
        D(SYSTEM, "neigh %s %s%s%s %s\n", type, addr, neighbor->proxy ? "proxy " : "",
                (neighbor->flags & DEVNEIGH_MAC) ? format_macaddr(neighbor->macaddr) : "",
                neighbor->router ? "router": "");
+       return 0;
 }
+
 int system_add_neighbor(struct device *dev, struct device_neighbor *neighbor)
 {
        return system_neighbor_msg(dev, neighbor, "add");