Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux/ena: Remove redundant assert check and error prints
Remove WARN checks from ena_com_wait_and_process_admin_cq_polling since once the execution flow reaches the check, it must be ENA_CMD_COMPLETED because it can't be either of the other options: 1. ENA_CMD_ABORTED - in such case it will perform "goto err" in the "if" block above, thus skipping the WARN check. 2. ENA_CMD_SUBMITTED - in such case it will timeout inside the while(1) loop above and perform "goto err", thus skipping the WARN check. Signed-off-by: Evgeny Ostrovsky <[email protected]>
- Loading branch information