]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Convert name table publication lists to standard kernel lists
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 30 May 2011 14:48:48 +0000 (10:48 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Jun 2011 20:18:16 +0000 (16:18 -0400)
commitdb229d599ec8d7a5a2fc7726eb950323f0e8df4a
tree48f3853dbf7b35d1bd3f85ab61a0c841180e05b6
parent85071185ad81209b82a59f562d38dac10ff2f42d
tipc: Convert name table publication lists to standard kernel lists

Modifies the main circular linked lists of publications used in TIPC's
name table to use the standard kernel linked list type. This change
simplifies the deletion of an existing publication by eliminating
the need to search up to three lists to locate the publication.
The use of standard list routines also helps improve the readability
of the name table code by make it clearer what each list operation
being performed is actually doing.

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