batman-adv: Use bool as return type for boolean functions
[deliverable/linux.git] / net / batman-adv / originator.c
index 04fa139911c36670e3f0fc4c46cb9b94439a0f42..1ff4ee473966d23328ee0dbb926cbb72945e6a99 100644 (file)
@@ -54,9 +54,9 @@ static void batadv_purge_orig(struct work_struct *work);
  * @node: node in the local table
  * @data2: second object to compare the node to
  *
- * Return: 1 if they are the same originator
+ * Return: true if they are the same originator
  */
-int batadv_compare_orig(const struct hlist_node *node, const void *data2)
+bool batadv_compare_orig(const struct hlist_node *node, const void *data2)
 {
        const void *data1 = container_of(node, struct batadv_orig_node,
                                         hash_entry);
This page took 0.030322 seconds and 5 git commands to generate.