aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptbase.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index d0855f278db4..c36d5b9ff663 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -1770,7 +1770,6 @@ mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id)
1770 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */ 1770 ioc->req_sz = MPT_DEFAULT_FRAME_SIZE; /* avoid div by zero! */
1771 ioc->reply_sz = MPT_REPLY_FRAME_SIZE; 1771 ioc->reply_sz = MPT_REPLY_FRAME_SIZE;
1772 1772
1773 ioc->pcidev = pdev;
1774 1773
1775 spin_lock_init(&ioc->taskmgmt_lock); 1774 spin_lock_init(&ioc->taskmgmt_lock);
1776 mutex_init(&ioc->internal_cmds.mutex); 1775 mutex_init(&ioc->internal_cmds.mutex);
@@ -2054,7 +2053,6 @@ mpt_detach(struct pci_dev *pdev)
2054 2053
2055 mpt_adapter_dispose(ioc); 2054 mpt_adapter_dispose(ioc);
2056 2055
2057 pci_set_drvdata(pdev, NULL);
2058} 2056}
2059 2057
2060/************************************************************************** 2058/**************************************************************************