summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/wil6210/fw.c
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2014-12-01 15:33:18 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-12-01 15:57:23 -0500
commit6992991346e820ca031efee95c769e45649f79fc (patch)
treec1cbe18f7643e7e9a1b767bfb090f9d80f49a639 /drivers/net/wireless/ath/wil6210/fw.c
parent60abbb6ee6efe800ffcf9d5a98666f927b75dd0e (diff)
wil6210: remove wil_to_pcie_dev()
There is no need to obtain physical device through wil->pdev->dev path, as it is done by this macro. The same device already stored as wiphy's device, thus wil_to_dev() returns the same device as wil_to_pcie_dev() Remove unnecessary macros, this allows to drop dependency by pci.h in the firmware download code. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/fw.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/fw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/fw.c b/drivers/net/wireless/ath/wil6210/fw.c
index 8c6f3b041f77..93c5cc16c515 100644
--- a/drivers/net/wireless/ath/wil6210/fw.c
+++ b/drivers/net/wireless/ath/wil6210/fw.c
@@ -15,7 +15,6 @@
*/
#include <linux/firmware.h>
#include <linux/module.h>
-#include <linux/pci.h>
#include <linux/crc32.h>
#include "wil6210.h"
#include "fw.h"