summaryrefslogtreecommitdiff
path: root/include/linux/can
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2019-07-23 15:08:47 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-07-24 11:31:55 +0300
commit60649d4e0af6c26b6c423dea9c57f39e823fc0c5 (patch)
treeec31fe2a85f73fe3516ed2219fc8b628fc863127 /include/linux/can
parent4c7f715485159ab8a55b9471fc6fd75db51fd623 (diff)
downloadlinux-60649d4e0af6c26b6c423dea9c57f39e823fc0c5.tar.xz
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 'include/linux/can')
-rw-r--r--include/linux/can/core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/can/core.h b/include/linux/can/core.h
index 6099bc18bd0c..f8284a94a13d 100644
--- a/include/linux/can/core.h
+++ b/include/linux/can/core.h
@@ -57,6 +57,5 @@ extern void can_rx_unregister(struct net *net, struct net_device *dev,
void *data);
extern int can_send(struct sk_buff *skb, int loop);
-extern int can_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
#endif /* !_CAN_CORE_H */