mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
In order to further reduce the scope of ndo_do_ioctl(), move out the SIOCWANDEV handling into a new network device operation function. Adjust the prototype to only pass the if_settings sub-structure in place of the ifreq, and remove the redundant 'cmd' argument in the process. Cc: Krzysztof Halasa <[email protected]> Cc: "Jan \"Yenya\" Kasprzak" <[email protected]> Cc: Kevin Curtis <[email protected]> Cc: Zhao Qiang <[email protected]> Cc: Martin Schiller <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: [email protected] Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>