提交 3daa3a07 编写于 作者: J Jon Mason

NTB: Remove unused variable

Remove unused pci_dev variable from ntb_transport_free()
Signed-off-by: NJon Mason <jon.mason@intel.com>
上级 b1ef0043
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册