summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorFam Zheng2017-02-15 10:31:47 +0100
committerMichael Tokarev2017-02-28 07:03:38 +0100
commit8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e (patch)
tree7efa9be08a7cc21d3807ba474bc29fac30929ee1 /hw
parentregister: fix incorrect read mask (diff)
downloadqemu-8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e.tar.gz
qemu-8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e.tar.xz
qemu-8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e.zip
cadence_gem: Remove unused parameter debug message
Reported by cppcheck. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw')
-rw-r--r--hw/net/cadence_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c
index e99d4544a2..d4de8ad9f1 100644
--- a/hw/net/cadence_gem.c
+++ b/hw/net/cadence_gem.c
@@ -508,7 +508,7 @@ static void gem_update_int_status(CadenceGEMState *s)
if ((s->num_priority_queues == 1) && s->regs[GEM_ISR]) {
/* No priority queues, just trigger the interrupt */
- DB_PRINT("asserting int.\n", i);
+ DB_PRINT("asserting int.\n");
qemu_set_irq(s->irq[0], 1);
return;
}