There is no control over whether a valid index is input when user use ioctl to get netdev information, so removing this assertion will allow ENODEV to be returned. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>