aboutsummaryrefslogtreecommitdiff
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
parent4729b3a41d11f053a6d03620ff12b266dd0ab330 (diff)
downloadqemu-8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e.zip
qemu-8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e.tar.gz
qemu-8ea1d056320dd5bbbd480c45e6cfb8e3689bcc7e.tar.bz2
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>
-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 e99d454..d4de8ad 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;
}