net: xilinx_emaclite: remove unnecessary dev_set_drvdata()
authorLibo Chen <libo.chen@huawei.com>
Wed, 21 Aug 2013 07:02:36 +0000 (15:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 19:27:04 +0000 (12:27 -0700)
commit0c671dc0c4979e69e0b342c8f4e80690660929db
tree6b94518e0b5a2a1f00c15afe1ef7a285586bcff2
parent7d9a875a76755e2da8f64ca962ea3f5147f2467f
net: xilinx_emaclite: 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>
Acked-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_emaclite.c