]> 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)
commit4c6765c8d6320281570a19dbed5a2c9a30b331f8
treec52e9bc9f46009212362172962fe8f07e6fc6c76
parent3cda291f06089d9874fa8cf7117ab69ce29dee21
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