Skip to content

Commit

Permalink
batman-adv: remove parenthesis from return statements
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonio Quartulli committed Jan 8, 2014
1 parent 4e820e7 commit 36484f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/batman-adv/distributed-arp-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 36484f8

Please sign in to comment.