From 8927d5f3055a730c86dc2b1149d73ee3cd16af18 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Mon, 29 Oct 2012 19:11:23 -0400 Subject: [PATCH] Linux: remove unused afs_set_name inline functions These were used in an earlier version of the patch that got merged. Change-Id: Ifc5ba94392a394d0fb55c31051b4b74211cfc1f0 Reviewed-on: http://gerrit.openafs.org/8332 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/afs/LINUX/osi_compat.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h index 1c822f929e..df40c9b8de 100644 --- a/src/afs/LINUX/osi_compat.h +++ b/src/afs/LINUX/osi_compat.h @@ -536,11 +536,6 @@ static inline void afs_putname(afs_name_t name) { putname((char *)name); } - -static inline void -afs_set_name(afs_name_t name, char *string) { - name = string; -} #else typedef struct filename *afs_name_t; @@ -553,11 +548,6 @@ static inline void afs_putname(afs_name_t name) { kmem_cache_free(names_cachep, (void *)name); } - -static inline void -afs_set_name(afs_name_t aname, char *string) { - aname->name = string; -} #endif #endif /* AFS_LINUX_OSI_COMPAT_H */