]> git.karo-electronics.de Git - linux-beck.git/commit
wireless: rt2x00: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 01:52:33 +0000 (10:52 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:56:35 +0000 (14:56 -0500)
commit515adc14cb860f1fb83f48acc6558baec10386f4
treec65f3edb455ff82c484545d05f24944ab41439e5
parentc44354d232ff80d5e6e55c3730a7079c5c3566fb
wireless: rt2x00: 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>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00pci.c