diff options
author | 2013-04-14 08:08:13 +0000 | |
---|---|---|
committer | 2013-04-14 15:41:49 -0400 | |
commit | bf84a01063eaab2f1a37d72d1b903445b3a25a4e (patch) | |
tree | fea0862757422b93ee4f158bf2a6f855a605d5b9 /net/can/gw.c | |
parent | vxlan: use htonl when snooping for loopback address (diff) | |
download | linux-dev-bf84a01063eaab2f1a37d72d1b903445b3a25a4e.tar.xz linux-dev-bf84a01063eaab2f1a37d72d1b903445b3a25a4e.zip |
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
20d4947353be, ``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.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can/gw.c')
0 files changed, 0 insertions, 0 deletions