mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
can: remove obsolete empty ioctl() handler
With commit c7cbdbf29f
("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>
This commit is contained in:
parent
4c7f715485
commit
60649d4e0a
4 changed files with 2 additions and 12 deletions
|
@ -845,7 +845,7 @@ static const struct proto_ops raw_ops = {
|
|||
.accept = sock_no_accept,
|
||||
.getname = raw_getname,
|
||||
.poll = datagram_poll,
|
||||
.ioctl = can_ioctl, /* use can_ioctl() from af_can.c */
|
||||
.ioctl = sock_no_ioctl,
|
||||
.gettstamp = sock_gettstamp,
|
||||
.listen = sock_no_listen,
|
||||
.shutdown = sock_no_shutdown,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue