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)
commit3166950070ce6b9d1443758d82c0a42779a02153
treedd74c81e9bb23c33239c82f05b764543773845a9
parent0d74c42f788caf3cad727c61c490d9459bc8918b
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