提交 e2d9154d 编写于 作者: D David Gibson 提交者: Andreas Färber

pseries: Remove old debug leftovers from spapr_vscsi

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: NDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: NAndreas Färber <afaerber@suse.de>
上级 92615a5a
......@@ -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++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册