net: enic: remove unnecessary pci_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 18 Oct 2013 00:25:29 +0000 (09:25 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 04:03:30 +0000 (00:03 -0400)
commit6d2d83e6316611ca8aa6daa9919c41398ba2725d
treea04454b2567ea7ece9d3c35d5de58345cb0d8183
parentcefa63b598554f132785bd08a588e11626fc6292
net: enic: 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/cisco/enic/enic_main.c