From: Luca Ceresoli Date: Tue, 13 Jan 2015 22:33:02 +0000 (+0100) Subject: staging/lustre: remove unused function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=88ee4bde2d7224eed10f731917670ccf420e72e7;p=linux-beck.git staging/lustre: remove unused function Signed-off-by: Luca Ceresoli Cc: Peng Tao Cc: HPDD-discuss@lists.01.org Cc: devel@driverdev.osuosl.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c index d71ad5ed1f6d..9515347c8edc 100644 --- a/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c +++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-curproc.c @@ -88,11 +88,6 @@ void cfs_kernel_cap_pack(kernel_cap_t kcap, cfs_cap_t *cap) *cap = kcap.cap[0]; } -void cfs_kernel_cap_unpack(kernel_cap_t *kcap, cfs_cap_t cap) -{ - kcap->cap[0] = cap; -} - cfs_cap_t cfs_curproc_cap_pack(void) { cfs_cap_t cap;