提交 36484f84 编写于 作者: A Antonio Quartulli

batman-adv: remove parenthesis from return statements

Remove parenthesis around return expression as suggested by
checkpatch.
Signed-off-by: NAntonio Quartulli <antonio@meshcoding.com>
Signed-off-by: NMarek Lindner <mareklindner@neomailbox.ch>
上级 4e820e72
......@@ -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;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册