From patchwork Fri Jun 21 17:54:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabiano Rosas X-Patchwork-Id: 806347 Delivered-To: patch@linaro.org Received: by 2002:a5d:508d:0:b0:362:4979:7f74 with SMTP id a13csp885226wrt; Fri, 21 Jun 2024 10:56:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXvWlP9YB7BZGKupWA3qPEVMJWZu9u+tkT3nM2bwszg/at9I2lJApVck42d0MrGLHt5OZwin12aa7bQo/zuP8AC X-Google-Smtp-Source: AGHT+IGhBBNXgG02faIWRGWrBOcRgYfq9zAj2y0vyihfzW5XNLA69a6iIb2LBh8OFIWHJOshRVdE X-Received: by 2002:ad4:5890:0:b0:6b5:3c4:fa5a with SMTP id 6a1803df08f44-6b503c4fa9bmr80332726d6.32.1718992569420; Fri, 21 Jun 2024 10:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718992569; cv=none; d=google.com; s=arc-20160816; b=ZZFWwMUuOZmkMWIWBpq1UiTQAVR8HfnUUBPhAp/oS/6Hc3W3cKI/J+S6pnqhHzN/l2 9iCcnAa+B1qgNfVFArTftPq/zeXLlMrbMQ8Q0AAMJFEksZNLvts6/S06Qvb0CvzXy+8U S7aaX64H2URjB2lBCA15284vpn1xIGIqL3fPLVdjOY66v5Z+WR0xZi92C+seMUolY52B dLX4Z/LEXtZ/ap/x9LICv6TaecBcjwkttNjxIJp2ebzRU4qd9o6DO0NGjcKPo/CHGZ4i oJ7dLf85Z6BAv8nEIsKSOwazBPC6RQFPRVRPzgzeIaY1OxDDeWH+xQsoeX8qEcZrZBI3 ChxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=3h9OV1SdhGCz8ynGA79uWbpu/f484+imUaupxHcoFAI=; fh=r437s4BKxTuzEW/rXVhYYMWlMi5SV5yotfi1M3PeU30=; b=RCc5pmcGnG59rArveNsX2Z4rHdsiG+DZfmosH6SAZqA5aNvL18AzZQODCjvGOTnicP LBxnfhcZjjSw2glBSNtXW0M+5NZSuqa5vwSbuYrJDnbzJBAaAqboFwBf7zCjBho3THsH K6cyZEdgZIWuq6F6nZeEK9t0FSO3D8rnGu8gXs7Qy4R63Xy3wa6Ti5127oBm8gm5jnmd lSIh+J13qVGQig5+Dy+Ud/T6kBFsbKVVkfqRLK+H0Y/vgZkekY4dYtnEjEOZFDV7nRLg ndBdH2ITEHoPeckrWmJ+LQV/6sZcQHqs44ucH1gF7iDKYK2wm1EMqUA+w4+7zJkFJ3sh TZHQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=o4K74Rss; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qapceGvL; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6b51edd3496si21340646d6.340.2024.06.21.10.56.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Jun 2024 10:56:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=o4K74Rss; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=qapceGvL; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKiU0-000445-07; Fri, 21 Jun 2024 13:55:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKiTx-00042Y-Tw for qemu-devel@nongnu.org; Fri, 21 Jun 2024 13:55:29 -0400 Received: from smtp-out1.suse.de ([195.135.223.130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKiTw-0003gb-9P for qemu-devel@nongnu.org; Fri, 21 Jun 2024 13:55:29 -0400 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id F067C21B40; Fri, 21 Jun 2024 17:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718992527; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3h9OV1SdhGCz8ynGA79uWbpu/f484+imUaupxHcoFAI=; b=o4K74RssZZUn0+/RVxUDzwAZeCA23GhPwgWNzKA/KE+fkGie4PUBeG/8DPt7/+G2dHEZxm 6lESO1+hywNhmB8v1Bw1T/NpJfRAi9EbZI05jguCNd5fegQzKZQQ0wx3R+PGaUGDIGs7hV XX266/KbuZE46dk7HDTuhHroGWo74JE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718992527; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3h9OV1SdhGCz8ynGA79uWbpu/f484+imUaupxHcoFAI=; b=7ijQBXW0Q8WWKwKbLu5UliOwDt0WklFNL3web2qBqHhVfruFQJXZZvsq6bd8UM9vEJj8UI sl9Escxstdkql5DQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1718992526; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3h9OV1SdhGCz8ynGA79uWbpu/f484+imUaupxHcoFAI=; b=qapceGvL1/WDP2oIcazhBHUrYZETI3vJE/83B5JtvJ7q3nZzDwt743NqgGrsE0UnkK6A/9 S+BOlwd1mBQC3q8Fv8TndxF6j78ZkvJPszHVDcGbDtxMavc6EF5A2k7jnHDSCm/ZQ0wQYU 7FANij17BzUImG0k2bpOOuFvKUf+zno= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1718992526; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3h9OV1SdhGCz8ynGA79uWbpu/f484+imUaupxHcoFAI=; b=LvE+syifUHm/yK0z94+FOBLhvnQ55jlocB15k3VHfZzTGClfqTnDxQdGsylxM0UGL68F48 wEXTE+VejMgJpWCw== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 5304E13AAA; Fri, 21 Jun 2024 17:55:25 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id iEaPBo2+dWZNawAAD6G6ig (envelope-from ); Fri, 21 Jun 2024 17:55:25 +0000 From: Fabiano Rosas To: qemu-devel@nongnu.org Cc: Peter Xu , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Li Zhijian Subject: [PULL 28/28] migration: Remove unused VMSTATE_ARRAY_TEST() macro Date: Fri, 21 Jun 2024 14:54:34 -0300 Message-Id: <20240621175434.31180-29-farosas@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240621175434.31180-1-farosas@suse.de> References: <20240621175434.31180-1-farosas@suse.de> MIME-Version: 1.0 X-Spam-Score: -3.30 X-Spamd-Result: default: False [-3.30 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCPT_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[linaro.org:email,fujitsu.com:email] Received-SPF: pass client-ip=195.135.223.130; envelope-from=farosas@suse.de; helo=smtp-out1.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Last use of VMSTATE_ARRAY_TEST() was removed in commit 46baa9007f ("migration/i386: Remove old non-softfloat 64bit FP support"), we can safely get rid of it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Li Zhijian Reviewed-by: Peter Xu Signed-off-by: Fabiano Rosas --- include/migration/vmstate.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 294d2d8486..f313f2f408 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -388,16 +388,6 @@ extern const VMStateInfo vmstate_info_qlist; .offset = vmstate_offset_varray(_state, _field, _type), \ } -#define VMSTATE_ARRAY_TEST(_field, _state, _num, _test, _info, _type) {\ - .name = (stringify(_field)), \ - .field_exists = (_test), \ - .num = (_num), \ - .info = &(_info), \ - .size = sizeof(_type), \ - .flags = VMS_ARRAY, \ - .offset = vmstate_offset_array(_state, _field, _type, _num),\ -} - #define VMSTATE_SUB_ARRAY(_field, _state, _start, _num, _version, _info, _type) { \ .name = (stringify(_field)), \ .version_id = (_version), \