neigh: simplify seq_file code
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 22 Jan 2010 10:16:05 +0000 (10:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jan 2010 09:21:27 +0000 (01:21 -0800)
commit81c1ebfc4379f529b001e23164dd5c2282bdc0ec
treeec47506bb12384db0c5beeddf2567f421f18462d
parenta271623f871dda970319ca15dfad3a8c8c36249f
neigh: simplify seq_file code

Simpily pass 'struct neigh_table' with seq_file private pointer,
and save one dereference. Proc entry itself isn't interesting.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c