|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] blktap2: Remove uninitialised variable rc
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1258445152 0
# Node ID aac490021bb8d328d0f1a00a50a7c02cbc1eba1d
# Parent bec27eb6f72cfb3fcecd8eb3060869fa301a62df
blktap2: Remove uninitialised variable rc from tdremus_close().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
tools/blktap2/drivers/block-remus.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -r bec27eb6f72c -r aac490021bb8 tools/blktap2/drivers/block-remus.c
--- a/tools/blktap2/drivers/block-remus.c Sat Nov 14 10:32:59 2009 +0000
+++ b/tools/blktap2/drivers/block-remus.c Tue Nov 17 08:05:52 2009 +0000
@@ -1629,7 +1629,6 @@ static int tdremus_close(td_driver_t *dr
static int tdremus_close(td_driver_t *driver)
{
struct tdremus_state *s = (struct tdremus_state *)driver->data;
- int rc;
RPRINTF("closing\n");
@@ -1646,7 +1645,7 @@ static int tdremus_close(td_driver_t *dr
ctl_close(driver);
- return rc;
+ return 0;
}
static int tdremus_get_parent_id(td_driver_t *driver, td_disk_id_t *id)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] blktap2: Remove uninitialised variable rc from tdremus_close().,
Xen patchbot-unstable <=
|
|
|
|
|