iw_cxgb4: handle draining an idle qp
In c4iw_drain_sq/rq(), if the particular queue is already empty
then don't block.
Fixes: ce4af14d94aa ('iw_cxgb4: add queue drain functions')
Signed-off-by:
Steve Wise <swise@opengridcomputing.com>
Signed-off-by:
Doug Ledford <dledford@redhat.com>
Loading
Please register or sign in to comment