Enable -Werror for romcc
[coreboot.git] / util / getpir / code_gen.c
index 81d6b2c9f9f7f9a557eb53c1490e30f232f904f2..96f2f3dad265d2b72a3ff4c63ef17cd71ee44dff 100644 (file)
@@ -50,7 +50,7 @@ void code_gen(char *filename, struct irq_routing_table *rt)
                fprintf(fpir, "%s", *code++);
 
        fprintf(fpir, "\t32 + 16 * %d,          /* Max. number of devices on the bus */\n",
-               ts, ts);
+               ts);
        fprintf(fpir, "\t0x%02x,                        /* Interrupt router bus */\n",
                rt->rtr_bus);
        fprintf(fpir, "\t(0x%02x << 3) | 0x%01x,        /* Interrupt router dev */\n",