From: Philippe Mathieu-Daudé Date: Fri, 13 Jan 2023 20:01:35 +0000 (+0100) Subject: iothread: Remove unused IOThreadClass / IOTHREAD_CLASS X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dc892d1e4c8d3682d624725d7cfeee90f35d6eff;p=qemu.git iothread: Remove unused IOThreadClass / IOTHREAD_CLASS Since commit be8d853766 ("iothread: add I/O thread object") we never used IOThreadClass / IOTHREAD_CLASS() / IOTHREAD_GET_CLASS(), remove these definitions. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Hajnoczi Reviewed-by: Alistair Francis Message-id: 20230113200138.52869-2-philmd@linaro.org Signed-off-by: Peter Maydell --- diff --git a/iothread.c b/iothread.c index 3862a64471..b41c305bd9 100644 --- a/iothread.c +++ b/iothread.c @@ -25,10 +25,6 @@ #include "qemu/rcu.h" #include "qemu/main-loop.h" -typedef ObjectClass IOThreadClass; - -DECLARE_CLASS_CHECKERS(IOThreadClass, IOTHREAD, - TYPE_IOTHREAD) #ifdef CONFIG_POSIX /* Benchmark results from 2016 on NVMe SSD drives show max polling times around