mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
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 <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
This commit is contained in:
parent
f5a643ad6d
commit
8927d5f305
@ -536,11 +536,6 @@ static inline void
|
|||||||
afs_putname(afs_name_t name) {
|
afs_putname(afs_name_t name) {
|
||||||
putname((char *)name);
|
putname((char *)name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
|
||||||
afs_set_name(afs_name_t name, char *string) {
|
|
||||||
name = string;
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
typedef struct filename *afs_name_t;
|
typedef struct filename *afs_name_t;
|
||||||
|
|
||||||
@ -553,11 +548,6 @@ static inline void
|
|||||||
afs_putname(afs_name_t name) {
|
afs_putname(afs_name_t name) {
|
||||||
kmem_cache_free(names_cachep, (void *)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
|
||||||
|
|
||||||
#endif /* AFS_LINUX_OSI_COMPAT_H */
|
#endif /* AFS_LINUX_OSI_COMPAT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user