summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/fragmentation.h
diff options
context:
space:
mode:
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 5d7a0e6..d848cf6 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)
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_ */
OpenPOWER on IntegriCloud