Message ID | 20230113200138.52869-2-philmd@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | hw: QOM housekeeping around IOTHREAD / IRQ types | expand |
On Sat, Jan 14, 2023 at 6:04 AM Philippe Mathieu-Daudé <philmd@linaro.org> wrote: > > 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é <philmd@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Alistair > --- > iothread.c | 4 ---- > 1 file changed, 4 deletions(-) > > 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 > -- > 2.38.1 > >
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
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é <philmd@linaro.org> --- iothread.c | 4 ---- 1 file changed, 4 deletions(-)