]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NFS: Remove unused function slot_idx
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 26 Nov 2012 19:33:03 +0000 (14:33 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Dec 2012 23:30:46 +0000 (00:30 +0100)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_fs_sb.h

index 30715508fade2f399cf1862a13ac6e1dcfe05011..e707c1b697960b174070cff4268ebffb9446cac4 100644 (file)
@@ -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
  */