Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36484f84 authored by Antonio Quartulli's avatar Antonio Quartulli
Browse files

batman-adv: remove parenthesis from return statements



Remove parenthesis around return expression as suggested by
checkpatch.

Signed-off-by: default avatarAntonio Quartulli <antonio@meshcoding.com>
Signed-off-by: default avatarMarek Lindner <mareklindner@neomailbox.ch>
parent 4e820e72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}

/**