]> git.karo-electronics.de Git - linux-beck.git/commit
atm: he: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 10 Dec 2013 03:51:46 +0000 (12:51 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:31:32 +0000 (22:31 -0500)
commit57c5bca9f4f8d0be378a115c5ed939bd43932f8e
treefa9e8fed4810072d085684439ff4d7316afe8a8a
parent40706af0b246f416a35fc3e12dc695deca8da3ff
atm: he: 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: David S. Miller <davem@davemloft.net>
drivers/atm/he.c