]> Git Repo - linux.git/commit
net: sungem: remove unnecessary pci_set_drvdata()
authorJingoo Han <[email protected]>
Wed, 23 Oct 2013 07:06:54 +0000 (16:06 +0900)
committerDavid S. Miller <[email protected]>
Wed, 23 Oct 2013 20:58:40 +0000 (16:58 -0400)
commit3a93ac0bb666c149e0a43a83e060f3d4b793c6de
tree892ec5810249ee2999ff0236fc20b03fe5fee5ad
parent305a3388b5b3121aff6b10054136b40ca91ab35b
net: sungem: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/sun/sungem.c
This page took 0.050936 seconds and 4 git commands to generate.