commit | 27469b7352b5197cffa0e3dadb5f1127f055da27 | [log] [tgz] |
---|---|---|
author | Jon Maloy <jon.maloy@ericsson.com> | Thu Feb 15 10:40:42 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 16 15:26:33 2018 -0500 |
tree | 3d69eb67760f1e213820be002e634990be8edf35 | |
parent | 35ed663f5f4f70dd750ea3e0166c5b90db9feea3 [diff] |
tipc: remove redundant code in topology server The socket handling in the topology server is unnecessarily generic. It is prepared to handle both SOCK_RDM, SOCK_DGRAM and SOCK_STREAM type sockets, as well as the only socket type which is really used, SOCK_SEQPACKET. We now remove this redundant code to make the code more readable. Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>