git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/sfc/base: fix PreFAST static analysis warning (C6001)
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
efx_rx.c
diff --git
a/drivers/net/sfc/base/efx_rx.c
b/drivers/net/sfc/base/efx_rx.c
index
1a3b6a5
..
f922b59
100644
(file)
--- 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 */