[PATCH 00/18] cleanup: wrapper functions of net_ratelimit() called to simplify code

2013-10-15 Thread Kefeng Wang
Macro PRINTR is called only once in nfnetlink_log.c, and it can be replaced by wrappe function of net_ratelimit(), so kill it. Meanwhile, I found many files could use wrappe functions of net_ratelimit() to simplify, so I did. Kefeng Wang (18): netfilter: cleanup: delete Macro PRINTR net:

[PATCH 00/18] cleanup: wrapper functions of net_ratelimit() called to simplify code

2013-10-15 Thread Kefeng Wang
Macro PRINTR is called only once in nfnetlink_log.c, and it can be replaced by wrappe function of net_ratelimit(), so kill it. Meanwhile, I found many files could use wrappe functions of net_ratelimit() to simplify, so I did. Kefeng Wang (18): netfilter: cleanup: delete Macro PRINTR net: