From: Antonio Quartulli Date: Thu, 7 Nov 2013 07:02:07 +0000 (+0100) Subject: batman-adv: remove parenthesis from return statements X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=36484f84d567f79fc7cc62c4391c7752a0ede7f2;p=openwrt%2Fstaging%2Fblogic.git batman-adv: remove parenthesis from return statements Remove parenthesis around return expression as suggested by checkpatch. Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner --- diff --git a/net/batman-adv/distributed-arp-table.c b/net/batman-adv/distributed-arp-table.c index 01ec607238a7..93e1fb049055 100644 --- a/net/batman-adv/distributed-arp-table.c +++ b/net/batman-adv/distributed-arp-table.c @@ -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; } /**