net: typhoon: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 18 Oct 2013 00:17:58 +0000 (09:17 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:03:28 +0000 (00:03 -0400)
commit559e31146007e264ca9daed1067f66e6725cea2f
tree8194ea75b143e11df5dccd65104c619bc6535cd2
parent5cda73b68ebf7e08586d61e6777e64e12df23f07
net: typhoon: 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>
Acked-by: David Dillow <dave@thedillows.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/typhoon.c