projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ef004
)
NTB: Remove unused variable
author
Jon Mason
<jon.mason@intel.com>
Tue, 3 Sep 2013 21:38:19 +0000
(14:38 -0700)
committer
Jon Mason
<jon.mason@intel.com>
Thu, 5 Sep 2013 18:07:59 +0000
(11:07 -0700)
Remove unused pci_dev variable from ntb_transport_free()
Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_transport.c
patch
|
blob
|
history
diff --git
a/drivers/ntb/ntb_transport.c
b/drivers/ntb/ntb_transport.c
index
ae61b44
..
90ec17f
100644
(file)
--- 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);