summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-26 20:33:03 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-06 00:30:46 +0100
commitc34309a45ea491e5f0c0d0af49ccfa018ff35fc1 (patch)
treed56d244dce9cefbba50bc9e4310a630fda4892f1 /include
parentNFSv4.1: Cleanup move session slot management to fs/nfs/nfs4session.c (diff)
downloadlinux-c34309a45ea491e5f0c0d0af49ccfa018ff35fc1.tar.xz
linux-c34309a45ea491e5f0c0d0af49ccfa018ff35fc1.zip
NFS: Remove unused function slot_idx
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs_sb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 30715508fade..e707c1b69796 100644
--- a/include/linux/nfs_fs_sb.h
+++ b/include/linux/nfs_fs_sb.h
@@ -225,11 +225,6 @@ struct nfs4_slot_table {
struct completion complete;
};
-static inline int slot_idx(struct nfs4_slot_table *tbl, struct nfs4_slot *sp)
-{
- return sp - tbl->slots;
-}
-
/*
* Session related parameters
*/