From: Mark Spender Date: Thu, 16 Nov 2017 08:04:38 +0000 (+0000) Subject: net/sfc/base: remove obsolete check for pre-Siena hardware X-Git-Tag: spdx-start~635 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e138cb31d2ffb2af0aaf6c55120f73ad03667c01;p=dpdk.git net/sfc/base: remove obsolete check for pre-Siena hardware The fail4 label was used twice, so it doesn't need removing. Signed-off-by: Mark Spender Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/efx_rx.c b/drivers/net/sfc/base/efx_rx.c index 1a3b6a5c2f..f922b5937b 100644 --- a/drivers/net/sfc/base/efx_rx.c +++ b/drivers/net/sfc/base/efx_rx.c @@ -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 */