]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Minor enhancements to name table display format
authorAllan Stephens <allan.stephens@windriver.com>
Tue, 17 Aug 2010 11:00:14 +0000 (11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:31:58 +0000 (17:31 -0700)
commit9adfb1c981969313c0363bea9afc515a9dc12e9b
tree1eb8d0c85ed3558dbd7fe4d2e1a5fb45c04f8e0e
parent0b4083db4848b0494b42dac159fc55bbcff957ae
tipc: Minor enhancements to name table display format

Eliminate printing of dashes after name table column headers
(to adhere more closely to the standard format used in tipc-config),
and simplify name table display logic using array lookups rather
than if-then-else logic.

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