net/can: Remove unused struct 'CanBusState'
authorDr. David Alan Gilbert <dave@treblig.org>
Sun, 5 May 2024 17:14:44 +0000 (18:14 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 30 Jun 2024 16:51:44 +0000 (19:51 +0300)
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 <dave@treblig.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
net/can/can_host.c

index a3c84028c61fd40855ced5df4de3a9e2d4cead03..b2fe553f91a4310fe840247657bac1e30d74ca00 100644 (file)
 #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);