aboutsummaryrefslogtreecommitdiff
path: root/hw/net
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-02-15 17:31:47 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2017-02-28 09:03:38 +0300
commit8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e (patch)
tree7efa9be08a7cc21d3807ba474bc29fac30929ee1 /hw/net
parent4729b3a41d11f053a6d03620ff12b266dd0ab330 (diff)
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/net')
-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;
}