]> 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)
commit003c03566126a12824c9949ec792e9b68a3e743e
tree8c431db3c0bfbb8ebe238bfb985737a814a383e5
parentb2491525447c5fe669a07e67f77cd14d7888cd62
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