]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: ethernet: liquidio: remove unused structs
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 26 May 2024 17:24:26 +0000 (18:24 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 May 2024 13:21:11 +0000 (15:21 +0200)
'niclist' and 'oct_link_status_resp' are unused since the original
commit f21fb3ed364b ("Add support of Cavium Liquidio ethernet
adapters").

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/cavium/liquidio/lio_main.c
drivers/net/ethernet/cavium/liquidio/octeon_droq.c

index 34f02a8ec2ca3adad9dd64ec48df2cc66c8880ea..1d79f6eaa41f6cbfc64d57ab44252e94f24a8345 100644 (file)
@@ -92,12 +92,6 @@ static int octeon_console_debug_enabled(u32 console)
 /* time to wait for possible in-flight requests in milliseconds */
 #define WAIT_INFLIGHT_REQUEST  msecs_to_jiffies(1000)
 
-struct oct_link_status_resp {
-       u64 rh;
-       struct oct_link_info link_info;
-       u64 status;
-};
-
 struct oct_timestamp_resp {
        u64 rh;
        u64 timestamp;
index 0d6ee30affb9137327208b53f4579c6e0e384820..eef12fdd246d34f884ab7ec354394c509ac6d7cc 100644 (file)
 #include "cn23xx_pf_device.h"
 #include "cn23xx_vf_device.h"
 
-struct niclist {
-       struct list_head list;
-       void *ptr;
-};
-
 struct __dispatch {
        struct list_head list;
        struct octeon_recv_info *rinfo;