batman-adv: remove parenthesis from return statements

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>
This commit is contained in:
Antonio Quartulli 2013-11-07 08:02:07 +01:00
parent 4e820e72db
commit 36484f84d5

View 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, const void *data1 = container_of(node, struct batadv_dat_entry,
hash_entry); hash_entry);
return (memcmp(data1, data2, sizeof(__be32)) == 0 ? 1 : 0); return memcmp(data1, data2, sizeof(__be32)) == 0 ? 1 : 0;
} }
/** /**