diff options
author | Oliver Hartkopp <socketcan@hartkopp.net> | 2019-07-23 14:08:47 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-07-24 10:31:55 +0200 |
commit | 60649d4e0af6c26b6c423dea9c57f39e823fc0c5 (patch) | |
tree | ec31fe2a85f73fe3516ed2219fc8b628fc863127 /net/can/af_can.c | |
parent | can: ti_hecc: use timestamp based rx-offloading (diff) | |
download | linux-60649d4e0af6c26b6c423dea9c57f39e823fc0c5.tar.xz linux-60649d4e0af6c26b6c423dea9c57f39e823fc0c5.zip |
can: remove obsolete empty ioctl() handler
With commit c7cbdbf29f488a ("net: rework SIOCGSTAMP ioctl handling") the only
ioctl function in can_ioctl() has been removed.
As this SIOCGSTAMP ioctl command is now handled in net/socket.c we can entirely
remove the CAN specific ioctl functions.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/af_can.c')
-rw-r--r-- | net/can/af_can.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/can/af_can.c b/net/can/af_can.c index 80281ef2ccbd..9c86de2da45e 100644 --- a/net/can/af_can.c +++ b/net/can/af_can.c @@ -87,15 +87,6 @@ static atomic_t skbcounter = ATOMIC_INIT(0); * af_can socket functions */ -int can_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) -{ - switch (cmd) { - default: - return -ENOIOCTLCMD; - } -} -EXPORT_SYMBOL(can_ioctl); - static void can_sock_destruct(struct sock *sk) { skb_queue_purge(&sk->sk_receive_queue); |