diff options
author | Kevin Hao <haokexin@gmail.com> | 2015-01-28 20:06:48 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-29 14:51:11 -0800 |
commit | 4b222ca68a7a24501c1a7b7505512e845799dd65 (patch) | |
tree | 7c2a56ea8eff82fcc6a379693a8711d4a6aa5f79 /net/switchdev/switchdev.c | |
parent | 7866a621043fbaca3d7389e9b9f69dd1a2e5a855 (diff) |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions