aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/tmem.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-16 08:30:23 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-16 08:30:23 +0100
commita32e1cc8594196fd1ae99f0cf7a71889730f3106 (patch)
tree49826eb6ebf5b9a2376ea182103988179103f3ff /xen/common/tmem.c
parentdacf09d460b50a7ce72fdfc151a2db7aad33c838 (diff)
downloadxen-a32e1cc8594196fd1ae99f0cf7a71889730f3106.tar.gz
xen-a32e1cc8594196fd1ae99f0cf7a71889730f3106.tar.bz2
xen-a32e1cc8594196fd1ae99f0cf7a71889730f3106.zip
tmem: No noise when disabled and not configured
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/tmem.c')
-rw-r--r--xen/common/tmem.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xen/common/tmem.c b/xen/common/tmem.c
index 09513ea40a..f45d880614 100644
--- a/xen/common/tmem.c
+++ b/xen/common/tmem.c
@@ -1812,7 +1812,6 @@ EXPORT long do_tmem_op(tmem_cli_op_t uops)
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 uops)
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++;