summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/fragmentation.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-18 16:28:37 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-02-18 16:28:37 +0100
commit65d2918e716afb89359cfa59734d76c1ff8700cb (patch)
tree4685404f96642243d62c3a1a823340913d087090 /net/batman-adv/fragmentation.h
parentNFSv4: Kill unused nfs_inode->delegation_state field (diff)
parentpnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_reque... (diff)
downloadlinux-65d2918e716afb89359cfa59734d76c1ff8700cb.tar.xz
linux-65d2918e716afb89359cfa59734d76c1ff8700cb.zip
Merge branch 'cleanups'
Merge cleanups requested by Linus. * cleanups: (3 commits) pnfs: Refactor the *_layout_mark_request_commit to use pnfs_layout_mark_request_commit nfs: Can call nfs_clear_page_commit() instead nfs: Provide and use helper functions for marking a page as unstable
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)
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_ */