tipc: remove redundant checking for the number of iovecs in a send request
authorYing Xue <ying.xue@windriver.com>
Thu, 31 Jan 2013 20:51:47 +0000 (21:51 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 15 Feb 2013 22:03:32 +0000 (17:03 -0500)
commit97f8b87e9108485a0b7070645662253561304458
treebd50c70ebf1715be2947087cd8ca341b06bbdbce
parentaba79f332f46ca8529f3e62a9fc2926c8fe75e44
tipc: remove redundant checking for the number of iovecs in a send request

As the number of iovecs in a send request is already limited within
UIO_MAXIOV(i.e. 1024) in __sys_sendmsg(), it's unnecessary to check it
again in TIPC stack.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/socket.c