From c2d28607e25b8884ffb893ab4bc6cbb3b1c5a386 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 20 Jan 2011 10:20:14 +0100 Subject: Fix the placement style of boolean operators at continued lines Fix "&&" and "||" continuation style (Patrick McHardy's review) --- kernel/ip_set_bitmap_port.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kernel/ip_set_bitmap_port.c') diff --git a/kernel/ip_set_bitmap_port.c b/kernel/ip_set_bitmap_port.c index bcffe0c..3d5e6e3 100644 --- a/kernel/ip_set_bitmap_port.c +++ b/kernel/ip_set_bitmap_port.c @@ -246,8 +246,8 @@ bitmap_port_same_set(const struct ip_set *a, const struct ip_set *b) const struct bitmap_port *x = a->data; const struct bitmap_port *y = b->data; - return x->first_port == y->first_port - && x->last_port == y->last_port; + return x->first_port == y->first_port && + x->last_port == y->last_port; } const struct ip_set_type_variant bitmap_port = { @@ -483,9 +483,9 @@ bitmap_port_timeout_same_set(const struct ip_set *a, const struct ip_set *b) const struct bitmap_port_timeout *x = a->data; const struct bitmap_port_timeout *y = b->data; - return x->first_port == y->first_port - && x->last_port == y->last_port - && x->timeout == y->timeout; + return x->first_port == y->first_port && + x->last_port == y->last_port && + x->timeout == y->timeout; } const struct ip_set_type_variant bitmap_port_timeout = { -- cgit v1.2.3