hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req()
commitea08e72eb0288c40816c4b3a14688345d2eb0707
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Oct 2023 08:25:58 +0000 (9 10:25 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Oct 2023 12:46:07 +0000 (20 14:46 +0200)
tree302cc28de38762f4307b260f7ce0c69e807ed0f1
parenta7e6186810f9389bb3aaa9209f548052651bc11d
hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req()

Fix:

  hw/s390x/sclpquiesce.c:90:22: error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
      QuiesceNotifier *qn = container_of(n, QuiesceNotifier, notifier);
                       ^
  hw/s390x/sclpquiesce.c:86:3: note: previous declaration is here
  } qn;
    ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20231010115048.11856-7-philmd@linaro.org>
hw/s390x/sclpquiesce.c