diff options
author | Chen Qun <kuhn.chenqun@huawei.com> | 2020-08-27 19:03:08 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-09-01 12:02:48 +0200 |
commit | 9b83b0043f3d517ae588c344288ff615bd2b0713 (patch) | |
tree | 6183ace0199eb5807b959bf23dbb4d2da313afb1 /hw/usb | |
parent | b7ea580d0baad1227a341f2e1752e464319eb101 (diff) |
vfio/platform: Remove dead assignment in vfio_intp_interrupt()
Clang static code analyzer show warning:
hw/vfio/platform.c:239:9: warning: Value stored to 'ret' is never read
ret = event_notifier_test_and_clear(intp->interrupt);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200827110311.164316-8-kuhn.chenqun@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/usb')
0 files changed, 0 insertions, 0 deletions