[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tmem: No noise when disabled and not configured



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1247729423 -3600
# Node ID 1033c6cdec62098b38990aaeedbe5111e0ad2e61
# Parent  8368aff1d759c48ea3904094089398c91c3fdc42
tmem: No noise when disabled and not configured

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/tmem.c |    6 ------
 1 files changed, 6 deletions(-)

diff -r 8368aff1d759 -r 1033c6cdec62 xen/common/tmem.c
--- a/xen/common/tmem.c Thu Jul 16 08:26:29 2009 +0100
+++ b/xen/common/tmem.c Thu Jul 16 08:30:23 2009 +0100
@@ -1812,7 +1812,6 @@ EXPORT long do_tmem_op(tmem_cli_op_t uop
     bool_t non_succ_get = 0, non_succ_put = 0;
     bool_t flush = 0, flush_obj = 0;
     bool_t tmem_write_lock_set = 0, tmem_read_lock_set = 0;
-    static bool_t warned = 0;
     DECL_LOCAL_CYC_COUNTER(succ_get);
     DECL_LOCAL_CYC_COUNTER(succ_put);
     DECL_LOCAL_CYC_COUNTER(non_succ_get);
@@ -1821,12 +1820,7 @@ EXPORT long do_tmem_op(tmem_cli_op_t uop
     DECL_LOCAL_CYC_COUNTER(flush_obj);
 
     if ( !tmem_initialized )
-    {
-        if ( !warned )
-            printk("tmem: must specify tmem parameter on xen boot line\n");
-        warned = 1;
         return -ENODEV;
-    }
 
     total_tmem_ops++;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.