sfxge: fix prefast warning in falconsiena_tx_qcreate
Keep prefast happy by returning the initial queue index from falconsiena_tx_qcreate(). No change in behaviour, as etxo_qcreate already zeros *addedp before the call. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
This commit is contained in:
parent
536c03c25f
commit
45229bd409
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291396
@ -909,6 +909,8 @@ falconsiena_tx_qcreate(
|
||||
}
|
||||
|
||||
/* Set up the new descriptor queue */
|
||||
*addedp = 0;
|
||||
|
||||
EFX_POPULATE_OWORD_6(oword,
|
||||
FRF_AZ_TX_DESCQ_BUF_BASE_ID, id,
|
||||
FRF_AZ_TX_DESCQ_EVQ_ID, eep->ee_index,
|
||||
|
Loading…
Reference in New Issue
Block a user