diff options
Diffstat (limited to 'chardev/char.c')
-rw-r--r-- | chardev/char.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chardev/char.c b/chardev/char.c index 276d27f403..aee8b4555d 100644 --- a/chardev/char.c +++ b/chardev/char.c @@ -42,9 +42,6 @@ /***********************************************************/ /* character device */ -static QTAILQ_HEAD(ChardevHead, Chardev) chardevs = - QTAILQ_HEAD_INITIALIZER(chardevs); - static Object *get_chardevs_root(void) { return container_get(object_get_root(), "/chardevs"); @@ -418,9 +415,6 @@ static void char_finalize(Object *obj) { Chardev *chr = CHARDEV(obj); - if (QTAILQ_IN_USE(chr, next)) { - QTAILQ_REMOVE(&chardevs, chr, next); - } if (chr->be) { chr->be->chr = NULL; } |