From 9bebe7d7bc94667c793d1956e2960163dee75e51 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 3 Oct 2011 03:08:19 +0200 Subject: [PATCH] bridge: add missing device cleanup --- bridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bridge.c b/bridge.c index c48381b..0ae9d00 100644 --- a/bridge.c +++ b/bridge.c @@ -281,6 +281,7 @@ bridge_free(struct device *dev) struct bridge_state *bst; struct bridge_member *bm; + device_cleanup(dev); bst = container_of(dev, struct bridge_state, dev); while (!list_empty(&bst->members)) { bm = list_first_entry(&bst->members, struct bridge_member, list); -- 2.25.1