android_kernel_google_msm/net/can
Daniel Borkmann e9ff904465 BACKPORT: net: sock: make sock_tx_timestamp void
Currently, sock_tx_timestamp() always returns 0. The comment that
describes the sock_tx_timestamp() function wrongly says that it
returns an error when an invalid argument is passed (from commit
20d4947353, ``net: socket infrastructure for SO_TIMESTAMPING'').
Make the function void, so that we can also remove all the unneeded
if conditions that check for such a _non-existant_ error case in the
output path.

Change-Id: Ibdfd5071737190371d4abec5ae76046b5aa8de23
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2023-02-18 18:32:19 +01:00
..
Kconfig can-gw: add netlink based CAN routing 2011-09-16 17:37:51 -04:00
Makefile can-gw: add netlink based CAN routing 2011-09-16 17:37:51 -04:00
af_can.c can: add missing initialisations in CAN related skbuffs 2015-06-19 11:40:23 +08:00
af_can.h can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
bcm.c can: bcm: initialize ifindex for timeouts without previous frame reception 2012-12-03 11:47:10 -08:00
gw.c can: gw: use kmem_cache_free() instead of kfree() 2013-04-12 09:38:47 -07:00
proc.c can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
raw.c BACKPORT: net: sock: make sock_tx_timestamp void 2023-02-18 18:32:19 +01:00