]> git.baikalelectronics.ru Git - kernel.git/commit
net: sfc: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Mon, 9 Dec 2013 03:24:07 +0000 (12:24 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2013 23:09:27 +0000 (18:09 -0500)
commit1b757bfc4a2d267a3a2717583100057d5894ad97
treedd74c81e9bb23c33239c82f05b764543773845a9
parentf2974785077141239de994546880cf31aae45aeb
net: sfc: 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/net/ethernet/sfc/efx.c