From: Marc Dionne Date: Mon, 29 Oct 2012 23:11:23 +0000 (-0400) Subject: Linux: remove unused afs_set_name inline functions X-Git-Tag: upstream/1.8.0_pre1^2~1857 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8927d5f3055a730c86dc2b1149d73ee3cd16af18;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h index 1c822f929..df40c9b8d 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 */