dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Peter Zijlstra 2006-11-13 16:19:07 -08:00 committed by David S. Miller
parent 5f3f24faf3
commit 1ed176a801
1 changed files with 335 additions and 361 deletions

File diff suppressed because it is too large Load Diff