summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/device.c
diff options
context:
space:
mode:
authorSteve Wise <swise@opengridcomputing.com>2011-03-11 22:30:32 +0000
committerRoland Dreier <roland@purestorage.com>2011-03-14 12:09:10 -0700
commit294281373999e7fff393c04eb16092a8f00ad5aa (patch)
tree3608fd01c734f99670f43f4cfac691da63c7a5d2 /drivers/infiniband/hw/cxgb4/device.c
parentb52fe09e3309c3d7069cd0e5a3bdb5b4ba45e01f (diff)
downloadop-kernel-dev-294281373999e7fff393c04eb16092a8f00ad5aa.zip
op-kernel-dev-294281373999e7fff393c04eb16092a8f00ad5aa.tar.gz
RDMA/cxgb4: Remove db_drop_task
Unloading iw_cxgb4 can crash due to the unload code trying to use db_drop_task, which is uninitialized. So remove this dead code. Signed-off-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/device.c')
-rw-r--r--drivers/infiniband/hw/cxgb4/device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c
index 54fbc11..1a65ee6 100644
--- a/drivers/infiniband/hw/cxgb4/device.c
+++ b/drivers/infiniband/hw/cxgb4/device.c
@@ -368,7 +368,6 @@ static void c4iw_rdev_close(struct c4iw_rdev *rdev)
static void c4iw_remove(struct c4iw_dev *dev)
{
PDBG("%s c4iw_dev %p\n", __func__, dev);
- cancel_delayed_work_sync(&dev->db_drop_task);
list_del(&dev->entry);
if (dev->registered)
c4iw_unregister_device(dev);
OpenPOWER on IntegriCloud