netfilter: ipset: Simplify mtype_expire() for hash types
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 11:18:06 +0000 (12:18 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 10 Nov 2016 12:28:46 +0000 (13:28 +0100)
commit509debc97587629dd5a6dca337afa57cb874b418
treeda56cf2db24c288dc756ed78e358abbbcfc4264c
parent5fdb5f6938cf241d574f0ff5504d753c801dc4ae
netfilter: ipset: Simplify mtype_expire() for hash types

Remove one leve of intendation by using continue while
iterating over elements in bucket.

Ported from a patch proposed by Sergey Popovich <popovich_sergei@mail.ua>.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
net/netfilter/ipset/ip_set_hash_gen.h