net: socket: replace call to sys_recv() with __sys_recvfrom()
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 13 Mar 2018 18:54:17 +0000 (19:54 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:16 +0000 (20:15 +0200)
commitd27e9afc64206b5a2fe02561716cee5be9aacf01
treecc0387e3ad2daa7a0b8d95d819388a96659a5870
parentf3bf896b1d041153ea1c6cfa58f6f4658c91089f
net: socket: replace call to sys_recv() with __sys_recvfrom()

sys_recv() merely expands the parameters to __sys_recvfrom() by NULL and
NULL. Open-code this in the two places which used sys_recv() as a wrapper
to __sys_recvfrom().

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
net/compat.c
net/socket.c