summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/fragmentation.h
diff options
context:
space:
mode:
authorAntonio Quartulli <antonio@meshcoding.com>2014-09-01 08:37:25 -0400
committerAntonio Quartulli <antonio@meshcoding.com>2015-01-07 11:21:55 -0500
commit24820df1449d4d7cf71bb66e7885ab7394c7b4fb (patch)
tree0e20b048e4c08ab73eec5ced36d0da194a85d2ee /net/batman-adv/fragmentation.h
parenta0e287750562969db8a891e9805fef55aeb05df0 (diff)
batman-adv: checkpatch - else is not generally useful after a break or return
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Diffstat (limited to 'net/batman-adv/fragmentation.h')
-rw-r--r--net/batman-adv/fragmentation.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/fragmentation.h b/net/batman-adv/fragmentation.h
index 5d7a0e66a22b..d848cf6676a2 100644
--- a/net/batman-adv/fragmentation.h
+++ b/net/batman-adv/fragmentation.h
@@ -41,8 +41,7 @@ batadv_frag_check_entry(struct batadv_frag_table_entry *frags_entry)
41 if (!hlist_empty(&frags_entry->head) && 41 if (!hlist_empty(&frags_entry->head) &&
42 batadv_has_timed_out(frags_entry->timestamp, BATADV_FRAG_TIMEOUT)) 42 batadv_has_timed_out(frags_entry->timestamp, BATADV_FRAG_TIMEOUT))
43 return true; 43 return true;
44 else 44 return false;
45 return false;
46} 45}
47 46
48#endif /* _NET_BATMAN_ADV_FRAGMENTATION_H_ */ 47#endif /* _NET_BATMAN_ADV_FRAGMENTATION_H_ */