[SCTP]: Cleanup of the sctp state table code.
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 14 Nov 2006 00:19:07 +0000 (16:19 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:22:26 +0000 (21:22 -0800)
commit1ed176a801b83915b7c8ab80e0a2a6376a2d6051
tree4939b1d74f3500eeb380082d934b98d629339795
parent5f3f24faf322e54752d1df00cdb768a013de5d1f
[SCTP]: Cleanup of the sctp state table code.

I noticed an insane high density of repeated characters fixable by a
simple regular expression:

  % s/{.fn = \([^,]*\),[[:space:]]\+\(\\\n[[:space:]]\+\)\?.name = "\1"}/TYPE_SCTP_FUNC(\1)/g

(NOTE: the .name for .fn = sctp_sf_do_9_2_start_shutdown didn't match)

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statetable.c