net/sfc/base: remove obsolete check for pre-Siena hardware
authorMark Spender <mspender@solarflare.com>
Thu, 16 Nov 2017 08:04:38 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
The fail4 label was used twice, so it doesn't need removing.

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

index 1a3b6a5..f922b59 100644 (file)
@@ -1350,10 +1350,6 @@ siena_rx_qcreate(
 
 #if EFSYS_OPT_RX_SCATTER
        case EFX_RXQ_TYPE_SCATTER:
-               if (enp->en_family < EFX_FAMILY_SIENA) {
-                       rc = EINVAL;
-                       goto fail4;
-               }
                jumbo = B_TRUE;
                break;
 #endif /* EFSYS_OPT_RX_SCATTER */