mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
hw/dma/xilinx_axidma: remove dead code
stream_desc_show() (and DEBUG_ENET) appear to be unused, as the function isn't compilable (there are broken PRI format strings). Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Message-id: 1452084792-17424-1-git-send-email-drjones@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
fea01f9604
commit
b3d21a04b8
1 changed files with 0 additions and 10 deletions
|
@ -177,16 +177,6 @@ static inline int streamid_from_addr(hwaddr addr)
|
||||||
return sid;
|
return sid;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG_ENET
|
|
||||||
static void stream_desc_show(struct SDesc *d)
|
|
||||||
{
|
|
||||||
qemu_log("buffer_addr = " PRIx64 "\n", d->buffer_address);
|
|
||||||
qemu_log("nxtdesc = " PRIx64 "\n", d->nxtdesc);
|
|
||||||
qemu_log("control = %x\n", d->control);
|
|
||||||
qemu_log("status = %x\n", d->status);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void stream_desc_load(struct Stream *s, hwaddr addr)
|
static void stream_desc_load(struct Stream *s, hwaddr addr)
|
||||||
{
|
{
|
||||||
struct SDesc *d = &s->desc;
|
struct SDesc *d = &s->desc;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue