net: gianfar: remove the unneeded check of disabled device
authorKevin Hao <haokexin@gmail.com>
Wed, 28 Jan 2015 12:06:48 +0000 (20:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jan 2015 22:51:11 +0000 (14:51 -0800)
commit4b222ca68a7a24501c1a7b7505512e845799dd65
tree7c2a56ea8eff82fcc6a379693a8711d4a6aa5f79
parent7866a621043fbaca3d7389e9b9f69dd1a2e5a855
net: gianfar: remove the unneeded check of disabled device

Since commit cd1e65044d44 ("of/device: Don't register disabled
devices"), the disabled device will not be registered at all. So we
don't need to do the check again in the platform device driver.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar.c