[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 1/5] pseries: Remove old debug leftovers from spapr_vs
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PATCH 1/5] pseries: Remove old debug leftovers from spapr_vscsi |
Date: |
Thu, 12 Apr 2012 12:44:11 +1000 |
The PAPR VSCSI emulation contains a few lines of code which were once used
for debug but now do nothing at all. This patch removes them.
Signed-off-by: David Gibson <address@hidden>
---
hw/spapr_vscsi.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/hw/spapr_vscsi.c b/hw/spapr_vscsi.c
index de2ba68..997a686 100644
--- a/hw/spapr_vscsi.c
+++ b/hw/spapr_vscsi.c
@@ -99,10 +99,6 @@ typedef struct {
vscsi_req reqs[VSCSI_REQ_LIMIT];
} VSCSIState;
-/* XXX Debug only */
-static VSCSIState *dbg_vscsi_state;
-
-
static struct vscsi_req *vscsi_get_req(VSCSIState *s)
{
vscsi_req *req;
@@ -902,8 +898,6 @@ static int spapr_vscsi_init(VIOsPAPRDevice *dev)
VSCSIState *s = DO_UPCAST(VSCSIState, vdev, dev);
int i;
- dbg_vscsi_state = s;
-
/* Initialize qemu request tags */
memset(s->reqs, 0, sizeof(s->reqs));
for (i = 0; i < VSCSI_REQ_LIMIT; i++) {
--
1.7.9.5
- [Qemu-ppc] [PATCH 0/5] pseries: cleanups and reset fixes, David Gibson, 2012/04/11
- [Qemu-ppc] [PATCH 1/5] pseries: Remove old debug leftovers from spapr_vscsi,
David Gibson <=
- [Qemu-ppc] [PATCH 5/5] pseries: Fix reset of VIO network device, David Gibson, 2012/04/11
- [Qemu-ppc] [PATCH 2/5] pseries: Remove old hcalls hook stub, David Gibson, 2012/04/11
- [Qemu-ppc] [PATCH 3/5] pseries: Correctly use the device model reset hooks, David Gibson, 2012/04/11
- [Qemu-ppc] [PATCH 4/5] pseries: Reset vscsi properly, David Gibson, 2012/04/11
- Re: [Qemu-ppc] [PATCH 0/5] pseries: cleanups and reset fixes, Andreas Färber, 2012/04/15