From: Trond Myklebust Date: Mon, 26 Nov 2012 19:33:03 +0000 (-0500) Subject: NFS: Remove unused function slot_idx X-Git-Tag: next-20121205~105^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d11f176055b48d90ba454f877ef6d9756c88f28a;p=karo-tx-linux.git NFS: Remove unused function slot_idx Signed-off-by: Trond Myklebust --- 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 */