]> git.baikalelectronics.ru Git - kernel.git/commit
wireless: ipw2100: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 25 Nov 2013 01:49:53 +0000 (10:49 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 19:56:31 +0000 (14:56 -0500)
commit3f4856e1175f16c0c6c07e3b75f8c02e0c9fb02f
treedfa6a7a9965896de926552f2762d5fc33e011ac2
parentc20804b66a7d46afc503f6fa8a79dee7a87e213e
wireless: ipw2100: 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/ipw2100.c