net:cxgb3: fix incorrect work cancellation
authorÍñigo Huguet <ihuguet@redhat.com>
Fri, 4 Jun 2021 11:36:33 +0000 (13:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jun 2021 21:46:17 +0000 (14:46 -0700)
commitd5a73dcf09010f97ebdff197991f77eb9992f09e
tree6978dc51927aa3a7f16850830cc4c6a87c8bfd30
parentfcb34635854a5a5814227628867ea914a9805384
net:cxgb3: fix incorrect work cancellation

In my last changes in commit 5e0b8928927f I introduced a copy-paste bug,
leading to cancel twice qresume_task work for OFLD queue, and never the
one for CTRL queue. This patch cancels correctly both works.

Signed-off-by: Íñigo Huguet <ihuguet@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb3/sge.c