diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-01-28 12:06:48 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-17 06:49:17 (GMT) |
commit | f8864e46f166436d8a49a51681a95b7122138ca4 (patch) | |
tree | 6f1c7426297ca8a39ca1be43a5eeb56b4c91270a /drivers/net/hamradio | |
parent | 9ed53b088f8ab7f248e05edeedb1b59bcdff561d (diff) | |
download | linux-fsl-qoriq-f8864e46f166436d8a49a51681a95b7122138ca4.tar.xz |
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>
Change-Id: I3a851a9b6eb649a1fa9694970c6aa34d11f76fda
Reviewed-on: http://git.am.freescale.net:8181/32701
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions