net: 8139cp: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 22 Oct 2013 04:17:27 +0000 (13:17 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Oct 2013 06:11:52 +0000 (02:11 -0400)
commitca30ab2cefea279d2fac64a356e0150f6d93ecbb
tree5a065643efd1b7d00abc3d3c4d9ad7f796c7deda
parent726a2fbe7b02ef24a4aeaef7df905148fa03ba71
net: 8139cp: 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/realtek/8139cp.c