net/netdev: simplify handling of netdev ifr ioctl()

1. call netdev_ifr_dev() only once
2. unify the error code of ENODEV

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an
2022-09-07 10:56:09 +08:00
committed by Xiang Xiao
parent 4e1097280a
commit fd53db56b6

File diff suppressed because it is too large Load Diff