]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: refactor function tipc_sk_recv_stream()
authorJon Paul Maloy <jon.maloy@ericsson.com>
Tue, 2 May 2017 16:16:54 +0000 (18:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 May 2017 19:56:54 +0000 (15:56 -0400)
commita2eec941cd84f186c802e9286232bd8f6fa74b44
treec52e9bc9f46009212362172962fe8f07e6fc6c76
parent93d2d96b8b3358e0d02431aa963fdf100ba7168b
tipc: refactor function tipc_sk_recv_stream()

We try to make this function more readable by improving variable names
and comments, using more stack variables, and doing some smaller changes
to the logics. We also rename the function to make it consistent with
naming conventions used elsewhere in the code.

Reviewed-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/socket.c