]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: ipw2x00: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Sep 2013 11:27:09 +0000 (20:27 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 Sep 2013 19:13:44 +0000 (15:13 -0400)
commitf25fb4e318a5508382ac55b663735b4e547f8513
tree8c431db3c0bfbb8ebe238bfb985737a814a383e5
parent739de4296b081ebfe03a0a2fa9bccdbc81762c06
wireless: ipw2x00: 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/ipw2x00/ipw2200.c