From: Trond Myklebust Date: Tue, 5 Jul 2016 23:08:58 +0000 (-0400) Subject: pNFS: pnfs_layoutcommit_outstanding() is no longer used when !CONFIG_NFS_V4_1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6712007734cbd64ff924af16fc236751d47ff80b;p=openwrt%2Fstaging%2Fblogic.git pNFS: pnfs_layoutcommit_outstanding() is no longer used when !CONFIG_NFS_V4_1 Cleanup... Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index b21bd0bee784..d6be5299a55a 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -716,13 +716,6 @@ pnfs_use_threshold(struct nfs4_threshold **dst, struct nfs4_threshold *src, return false; } -static inline bool -pnfs_layoutcommit_outstanding(struct inode *inode) -{ - return false; -} - - static inline struct nfs4_threshold *pnfs_mdsthreshold_alloc(void) { return NULL;