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)
commit8fb75b79cd98944c118861ff3194caf731f5ec5a
tree48f918b04a000b92a0a7deabeaa3f6cf4e89fae6
parent73d74f61a559d8fc2266abfb95085bb7d1917a3e
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