From 604e34bd6027b38fca3220f3bb8977fbf869f47b Mon Sep 17 00:00:00 2001 From: ericm Date: Thu, 18 Jun 2009 01:32:40 +0000 Subject: [PATCH] branch: HEAD fix a gss build error. b=19826 r=yujian r=fanyong --- lustre/ptlrpc/gss/gss_svc_upcall.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lustre/ptlrpc/gss/gss_svc_upcall.c b/lustre/ptlrpc/gss/gss_svc_upcall.c index e97ae44..ba9e808e 100644 --- a/lustre/ptlrpc/gss/gss_svc_upcall.c +++ b/lustre/ptlrpc/gss/gss_svc_upcall.c @@ -1451,13 +1451,9 @@ int __init gss_init_svc_upcall(void) void __exit gss_exit_svc_upcall(void) { - int rc; - cache_purge(&rsi_cache); - if ((rc = cache_unregister(&rsi_cache))) - CERROR("unregister rsi cache: %d\n", rc); + cache_unregister(&rsi_cache); cache_purge(&rsc_cache); - if ((rc = cache_unregister(&rsc_cache))) - CERROR("unregister rsc cache: %d\n", rc); + cache_unregister(&rsc_cache); } -- 1.8.3.1