aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2024-05-05 18:14:44 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2024-06-30 19:51:44 +0300
commit737308fe2be4cf653c3fe9e1358b6a08f673a5d1 (patch)
tree3618377d0f46c15674e828674aa30b9bb919e2d6 /net
parent83c9f9d39f373ba2863614c3077244ee6c07a50c (diff)
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 <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>
Diffstat (limited to 'net')
-rw-r--r--net/can/can_host.c6
1 files changed, 0 insertions, 6 deletions
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);