Cédric Le Goater
e8874c06a7
aspeed: Clean up local variable shadowing
...
Remove superfluous local 'irq' variables and use the one define at the
top of the routine. This fixes warnings in aspeed_soc_ast2600_realize()
such as :
../hw/arm/aspeed_ast2600.c: In function ‘aspeed_soc_ast2600_realize’:
../hw/arm/aspeed_ast2600.c:420:18: warning: declaration of ‘irq’ shadows a previous local [-Wshadow=compatible-local]
420 | qemu_irq irq = aspeed_soc_get_irq(s, ASPEED_DEV_TIMER1 + i);
| ^~~
../hw/arm/aspeed_ast2600.c:312:14: note: shadowed declaration is here
312 | qemu_irq irq;
| ^~~
Signed-off-by: Cédric Le Goater <clg@kaod.org >
Message-ID: <20230922155924.1172019-3-clg@kaod.org >
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
2023-09-29 10:07:19 +02:00
..
2023-04-20 10:21:13 +01:00
2023-04-20 10:21:14 +01:00
2023-09-29 10:07:15 +02:00
2023-09-29 10:07:15 +02:00
2023-09-29 10:07:15 +02:00
2023-02-07 09:02:05 +01:00
2023-09-29 10:07:19 +02:00
2023-06-15 18:35:57 +02:00
2023-06-15 18:35:57 +02:00
2023-03-02 13:57:50 +01:00
2023-09-01 11:40:04 +02:00
2023-06-06 10:19:33 +01:00
2023-05-02 15:47:40 +01:00
2023-05-02 15:47:40 +01:00
2023-09-21 14:45:57 +01:00
2023-03-22 15:06:57 +00:00
2023-03-22 15:06:57 +00:00
2021-12-15 10:35:26 +00:00
2022-04-21 17:03:51 +04:00
2022-02-08 10:56:28 +00:00
2023-04-20 10:21:13 +01:00
2023-06-15 18:35:58 +02:00
2023-05-30 13:02:53 +01:00
2023-08-31 09:45:16 +01:00
2023-08-31 09:45:17 +01:00
2021-05-02 17:24:51 +02:00
2023-01-12 17:03:14 +00:00
2022-02-08 10:56:28 +00:00
2022-02-08 10:56:28 +00:00
2021-12-15 08:38:16 +01:00
2023-07-04 14:08:47 +01:00
2022-02-08 10:56:28 +00:00
2023-01-12 17:03:14 +00:00
2023-04-20 10:46:29 +01:00
2023-04-20 10:46:43 +01:00
2023-06-20 10:01:30 +02:00
2022-09-14 11:19:40 +01:00
2023-08-31 11:07:02 +01:00
2023-02-27 13:27:05 +00:00
2021-09-01 11:08:21 +01:00
2023-02-07 09:02:04 +01:00
2022-09-14 11:19:40 +01:00
2023-06-05 20:48:34 +02:00
2022-09-14 11:19:40 +01:00
2022-09-14 11:19:40 +01:00
2023-03-22 15:06:57 +00:00
2023-02-16 16:00:48 +00:00
2021-09-01 11:08:21 +01:00
2023-03-22 15:06:57 +00:00
2023-01-12 16:50:19 +00:00
2023-04-20 10:21:13 +01:00
2023-04-20 10:21:13 +01:00
2023-03-22 15:06:57 +00:00
2023-03-22 15:06:57 +00:00
2023-03-22 15:06:57 +00:00
2022-05-05 09:35:50 +01:00
2023-01-12 17:03:14 +00:00
2023-05-02 15:47:41 +01:00
2023-01-23 13:32:38 +00:00
2022-02-08 10:56:28 +00:00
2023-09-21 16:07:14 +01:00
2023-07-25 10:56:51 +01:00
2023-05-30 15:50:16 +01:00
2023-09-29 10:07:19 +02:00
2023-09-29 10:07:19 +02:00
2023-01-12 17:03:14 +00:00
2023-09-01 11:40:04 +02:00
2021-09-01 11:08:19 +01:00
2021-09-01 11:08:19 +01:00
2023-01-12 16:50:18 +00:00
2022-09-14 11:19:40 +01:00
2023-01-18 11:14:34 +01:00
2023-01-12 17:03:14 +00:00
2023-05-30 15:50:16 +01:00
2023-01-23 13:32:38 +00:00
2023-05-18 11:39:33 +01:00
2023-07-08 07:24:38 +03:00
2023-09-29 10:07:15 +02:00
2023-08-30 18:23:08 -07:00
2023-09-01 11:40:04 +02:00
2023-09-01 11:40:04 +02:00
2023-09-08 16:41:35 +01:00
2023-09-01 11:40:04 +02:00
2023-05-30 15:50:16 +01:00
2023-01-12 17:03:14 +00:00