From: Vladimir Sementsov-Ogievskiy Date: Fri, 6 Oct 2023 15:41:22 +0000 (+0300) Subject: iotests.py: pause_job(): drop return value X-Git-Tag: v8.2.0-rc0~68^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=39995e21261d19e44db00e0ebce2c5616703b29a;p=thirdparty%2Fqemu.git iotests.py: pause_job(): drop return value The returned value is unused. It's simple to check by command git grep -B 3 '\.pause_job(' Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Eric Blake Message-id: 20231006154125.1068348-13-vsementsov@yandex-team.ru Signed-off-by: John Snow --- diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index ee7b6ddeffd..f43814e802b 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -1338,8 +1338,7 @@ class QMPTestCase(unittest.TestCase): result = self.vm.qmp('block-job-pause', device=job_id) self.assert_qmp(result, 'return', {}) if wait: - return self.pause_wait(job_id) - return result + self.pause_wait(job_id) def case_skip(self, reason): '''Skip this test case'''