]> git.baikalelectronics.ru Git - kernel.git/commit
wan: cosa: remove dead cosa_net_ioctl() function
authorArnd Bergmann <arnd@arndb.de>
Tue, 27 Jul 2021 13:45:11 +0000 (15:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 19:11:44 +0000 (20:11 +0100)
commitb2b174dab7f467033e529939455d455013454499
tree48f918b04a000b92a0a7deabeaa3f6cf4e89fae6
parente9d5c113669dfdc3f3bce79768663c6fba02b262
wan: cosa: remove dead cosa_net_ioctl() function

The ndo_do_ioctl callback is never called with the COSAIO* commands,
so this is never used. Call the hdlc_ioctl function directly instead.

Any user space code that relied on this function working as intended
has never worked in a mainline kernel since before linux-1.0.

Cc: "Jan \"Yenya\" Kasprzak" <kas@fi.muni.cz>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/cosa.c