aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/tmem.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-08-06 09:53:37 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-08-06 09:53:37 +0100
commit94df1707a3b54ff2f94923046c8f8cb166a6c4e4 (patch)
tree81e5995fdfc47a721e7b6600dcab4418f7e90a93 /xen/common/tmem.c
parent734a7f6677f43502a2550ab89bf13439ab56c611 (diff)
downloadxen-94df1707a3b54ff2f94923046c8f8cb166a6c4e4.tar.gz
xen-94df1707a3b54ff2f94923046c8f8cb166a6c4e4.tar.bz2
xen-94df1707a3b54ff2f94923046c8f8cb166a6c4e4.zip
tmem: Remove bogus variable decl, fixing build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/tmem.c')
-rw-r--r--xen/common/tmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/common/tmem.c b/xen/common/tmem.c
index c350de9d62..9df8d4d91e 100644
--- a/xen/common/tmem.c
+++ b/xen/common/tmem.c
@@ -2103,7 +2103,6 @@ static int tmemc_restore_put_page(int cli_id, int pool_id, uint64_t oid,
{
client_t *client = tmh_client_from_cli_id(cli_id);
pool_t *pool = (client == NULL) ? NULL : client->pools[pool_id];
-int ret = 0;
if ( pool == NULL )
return -1;