diff options
author | Jon Mason <jon.mason@intel.com> | 2013-09-03 23:38:19 +0200 |
---|---|---|
committer | Jon Mason <jon.mason@intel.com> | 2013-09-05 20:07:59 +0200 |
commit | 3daa3a073e8813e4185d614f2c6b601ce39e2e5f (patch) | |
tree | 89ce6f13f740e6f2f122c225e587cddde62e7b58 /drivers/ntb/ntb_transport.c | |
parent | NTB: Remove References of non-B2B BWD HW (diff) | |
download | linux-3daa3a073e8813e4185d614f2c6b601ce39e2e5f.tar.xz linux-3daa3a073e8813e4185d614f2c6b601ce39e2e5f.zip |
NTB: Remove unused variable
Remove unused pci_dev variable from ntb_transport_free()
Signed-off-by: Jon Mason <jon.mason@intel.com>
Diffstat (limited to 'drivers/ntb/ntb_transport.c')
-rw-r--r-- | drivers/ntb/ntb_transport.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c index ae61b443f412..90ec17f0c6eb 100644 --- a/drivers/ntb/ntb_transport.c +++ b/drivers/ntb/ntb_transport.c @@ -970,7 +970,6 @@ void ntb_transport_free(void *transport) { struct ntb_transport *nt = transport; struct ntb_device *ndev = nt->ndev; - struct pci_dev *pdev; int i; nt->transport_link = NTB_LINK_DOWN; @@ -988,8 +987,6 @@ void ntb_transport_free(void *transport) ntb_unregister_event_callback(ndev); - pdev = ntb_query_pdev(ndev); - for (i = 0; i < ntb_max_mw(ndev); i++) ntb_free_mw(nt, i); |