From: Dr. David Alan Gilbert Date: Sun, 5 May 2024 17:14:44 +0000 (+0100) Subject: net/can: Remove unused struct 'CanBusState' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=737308fe2be4cf653c3fe9e1358b6a08f673a5d1;p=qemu.git net/can: Remove unused struct 'CanBusState' As far as I can tell this struct has never been used in this file (it is used in can_core.c). Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- diff --git a/net/can/can_host.c b/net/can/can_host.c index a3c84028c6..b2fe553f91 100644 --- a/net/can/can_host.c +++ b/net/can/can_host.c @@ -34,12 +34,6 @@ #include "net/can_emu.h" #include "net/can_host.h" -struct CanBusState { - Object object; - - QTAILQ_HEAD(, CanBusClientState) clients; -}; - static void can_host_disconnect(CanHostState *ch) { CanHostClass *chc = CAN_HOST_GET_CLASS(ch);