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>
This commit is contained in:
Antonio Quartulli
2014-09-01 14:37:25 +02:00
parent a0e2877505
commit 24820df144
4 changed files with 5 additions and 9 deletions

View File

@@ -41,8 +41,7 @@ batadv_frag_check_entry(struct batadv_frag_table_entry *frags_entry)
if (!hlist_empty(&frags_entry->head) &&
batadv_has_timed_out(frags_entry->timestamp, BATADV_FRAG_TIMEOUT))
return true;
else
return false;
return false;
}
#endif /* _NET_BATMAN_ADV_FRAGMENTATION_H_ */