net/sfc/base: remove assertion on no longer used define
authorMark Spender <mspender@solarflare.com>
Thu, 16 Nov 2017 08:04:18 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
MC_CMD_INIT_RXQ_OUT_LEN is not used any more.

Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_rx.c

index 5ede728..2942d03 100644 (file)
@@ -58,8 +58,6 @@ efx_mcdi_init_rxq(
        uint32_t dma_mode;
        boolean_t want_outer_classes;
 
-       /* If this changes, then the payload size might need to change. */
-       EFSYS_ASSERT3U(MC_CMD_INIT_RXQ_OUT_LEN, ==, 0);
        EFSYS_ASSERT3U(size, <=, EFX_RXQ_MAXNDESCS);
 
        if (ps_bufsize > 0)