tipc: Minor optimization to topology service connection establishment
authorAllan Stephens <Allan.Stephens@windriver.com>
Fri, 21 Jan 2011 14:45:33 +0000 (09:45 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 23 Feb 2011 23:05:17 +0000 (18:05 -0500)
commit69218fc426569739d2bb68e15ac4905948409642
treeec6ad0a4ace309739503c684c9f6168d6b82484d
parentf23d9bf2b7ba22fe49b65d344b3651049cecc51d
tipc: Minor optimization to topology service connection establishment

Eliminates a local iovec structure containing no data, which was
previously used during the establishment of a topology service connection,
since the same effect can be achieved by passing in a NULL pointer and
an iovec length of zero.

Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/subscr.c