net: sunbmac: remove unnecessary dev_set_drvdata()
authorLibo Chen <libo.chen@huawei.com>
Wed, 21 Aug 2013 07:02:27 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 19:27:04 +0000 (12:27 -0700)
commit63f076e96071eb6611e7537456299ca29feb63c0
tree2d38b7fa1d09a81b68def9381bd8ccbfb1d6f978
parentdcbe8a1a42cbd9488eda68f5a8bd1d90fc7ad8fe
net: sunbmac: remove unnecessary dev_set_drvdata()

Unnecessary dev_set_drvdata() is removed, because the driver core
clears the driver data to NULL after device_release or on probe failure.

Signed-off-by: Libo Chen <libo.chen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/sunbmac.c