فهرست منبع

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>
Dr. David Alan Gilbert 1 سال پیش
والد
کامیت
737308fe2b
1فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 6
      net/can/can_host.c

+ 0 - 6
net/can/can_host.c

@@ -34,12 +34,6 @@
 #include "net/can_emu.h"
 #include "net/can_emu.h"
 #include "net/can_host.h"
 #include "net/can_host.h"
 
 
-struct CanBusState {
-    Object object;
-
-    QTAILQ_HEAD(, CanBusClientState) clients;
-};
-
 static void can_host_disconnect(CanHostState *ch)
 static void can_host_disconnect(CanHostState *ch)
 {
 {
     CanHostClass *chc = CAN_HOST_GET_CLASS(ch);
     CanHostClass *chc = CAN_HOST_GET_CLASS(ch);