wireless: ath10k: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 11:25:11 +0000 (20:25 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:43 +0000 (15:13 -0400)
commit1348088d6ff39c3b2c560da339eaf6284df95664
tree6a1e44f3c6628f347ae938c4e6844844ae92e557
parent81d503660dc959af641bb3b54a9162586297dc39
wireless: ath10k: remove unnecessary pci_set_drvdata()

The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath10k/pci.c