From: "Serge E. Hallyn" The exit_utsname() inline function hasn't been in use since we switched to using nsproxies. Remove it's definition. Thanks to Cedric for noticing. Signed-off-by: Serge Hallyn Signed-off-by: Andrew Morton --- include/linux/utsname.h | 12 ------------ 1 file changed, 12 deletions(-) diff -puN include/linux/utsname.h~namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname include/linux/utsname.h --- devel/include/linux/utsname.h~namespaces-utsname-implement-utsname-namespaces-remove-unused-exit_utsname 2006-06-07 15:35:46.000000000 -0700 +++ devel-akpm/include/linux/utsname.h 2006-06-07 15:35:46.000000000 -0700 @@ -54,15 +54,6 @@ static inline void put_uts_ns(struct uts { kref_put(&ns->kref, free_uts_ns); } - -static inline void exit_utsname(struct task_struct *p) -{ - struct uts_namespace *uts_ns = p->nsproxy->uts_ns; - if (uts_ns) { - put_uts_ns(uts_ns); - } -} - #else static inline int copy_utsname(int flags, struct task_struct *tsk) { @@ -71,9 +62,6 @@ static inline int copy_utsname(int flags static inline void put_uts_ns(struct uts_namespace *ns) { } -static inline void exit_utsname(struct task_struct *p) -{ -} #endif static inline struct new_utsname *utsname(void) _