[PATCH] net/netfilter/x_tables.c: use __seq_open_private()

2014-09-18 Thread Rob Jones
Reduce boilerplate code by using __seq_open_private() instead of seq_open() in xt_match_open() and xt_target_open(). Signed-off-by: Rob Jones --- This patch uses an existing variant of seq_open() to reduce the kernel code size. The only significant variation from the pre-existing code is the

[PATCH] net/netfilter/x_tables.c: use __seq_open_private()

2014-09-18 Thread Rob Jones
Reduce boilerplate code by using __seq_open_private() instead of seq_open() in xt_match_open() and xt_target_open(). Signed-off-by: Rob Jones rob.jo...@codethink.co.uk --- This patch uses an existing variant of seq_open() to reduce the kernel code size. The only significant variation from the