]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/block/sx8.c: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:55:17 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:17 +0000 (16:55 +1100)
commitc84e4d346a43237900a6a5a6ca0c2dbbb16adb89
treefdcb2871e5df78c2ac710af07fa3ae1cc9762d70
parent1adfdbb93ae0456a6432e9dbd6f5bef0a19b86a5
drivers/block/sx8.c: 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>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/sx8.c