wan: dscc4: remove unnecessary pci_set_drvdata()
authorJingoo Han <[email protected]>
Mon, 9 Dec 2013 03:29:46 +0000 (12:29 +0900)
committerDavid S. Miller <[email protected]>
Mon, 9 Dec 2013 23:09:29 +0000 (18:09 -0500)
commit3c0d6d32eacf0f331636b804188ff8a2c9d740eb
tree0d81d1ed5cd194fbe8520e7641fa42b69fe67294
parent825d15de0e6698ba23790870edb031a5c120819b
wan: dscc4: 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/wan/dscc4.c