batman-adv: remove parenthesis from return statements
authorAntonio Quartulli <antonio@meshcoding.com>
Thu, 7 Nov 2013 07:02:07 +0000 (08:02 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 8 Jan 2014 19:49:41 +0000 (20:49 +0100)
Remove parenthesis around return expression as suggested by
checkpatch.

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/distributed-arp-table.c

index 01ec607238a797bfb27e2d637e8d5bb24e192dca..93e1fb04905539eac6ed247db1919f50dcf38ddc 100644 (file)
@@ -139,7 +139,7 @@ static int batadv_compare_dat(const struct hlist_node *node, const void *data2)
        const void *data1 = container_of(node, struct batadv_dat_entry,
                                         hash_entry);
 
-       return (memcmp(data1, data2, sizeof(__be32)) == 0 ? 1 : 0);
+       return memcmp(data1, data2, sizeof(__be32)) == 0 ? 1 : 0;
 }
 
 /**