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)
commitf6f0a4d2d05f758f011a506731e84160d140304b
tree48f3853dbf7b35d1bd3f85ab61a0c841180e05b6
parentb52124a50fa7b870a3d1a18a8ff56273c7d690dd
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