]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: emac: remove unnecessary dev_set_drvdata()
authorLibo Chen <libo.chen@huawei.com>
Wed, 21 Aug 2013 07:02:45 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 19:27:05 +0000 (12:27 -0700)
commite6b0260c2a154948be825b34e68135c127123d5a
treeb0ca76c9727c56a977137f8176732716bf42ee37
parent110a183c8a1c61b9de7b5c19421beb6e585181d4
net: emac: 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/ibm/emac/core.c