net: liquidio: Remove unused struct lio_trusted_vf_ctx
authorYuan Can <yuancan@huawei.com>
Tue, 27 Sep 2022 13:39:40 +0000 (13:39 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 29 Sep 2022 08:14:05 +0000 (10:14 +0200)
After commit 6870957ed5bc("liquidio: make soft command calls synchronous"), no
one use struct lio_trusted_vf_ctx, so remove it.

Signed-off-by: Yuan Can <yuancan@huawei.com>
Link: https://lore.kernel.org/r/20220927133940.104181-1-yuancan@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/cavium/liquidio/lio_main.c

index bee35ce60171006a206dfd3a76c670c65ab324a6..d312bd5949353c6b9fa1a0318a30c2dbcfbd04bb 100644 (file)
@@ -92,11 +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 lio_trusted_vf_ctx {
-       struct completion complete;
-       int status;
-};
-
 struct oct_link_status_resp {
        u64 rh;
        struct oct_link_info link_info;