From nobody Wed May 15 19:41:05 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1590857781; cv=none; d=zohomail.com; s=zohoarc; b=Xiw+Hs2SmjmdyNnnVr4k+w7gPt/vNDZzXIKJJD6oMMWrwdgsJvv/HtMklmkjMEH16w9lnE3pfu0vPYtdCyMyNfJ4kStlS+3UIh5J8KqoBw0bauejb4JjvV+NtQ48quwPHDD4t1yC0tpGUuzzsWlulyEpEF9OjRRj0N8d4xdaodk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590857781; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=V0Xhe941PXhd+YmAF+P/Etq6ib8J1T6jb9BBpOw9xBM=; b=O5iG3mtZKe425EEwcsrcliK2v131HCa6GW+vGgGuObdstQEyWqAEcOL2a/8RXmNMcFR20LdPgcIOzLyn48R+X403Mfd145afON7pEBWm4NDiTPa0muBPX5nU7xmAK8m4mE3CjJIqXP/gIioHLkMKYn9gXDJR5R+EH1Zmj18+NCc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1590857781574794.3155933272359; Sat, 30 May 2020 09:56:21 -0700 (PDT) Received: from localhost ([::1]:46266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jf4mR-0006or-QT for importer@patchew.org; Sat, 30 May 2020 12:56:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jf4lT-0006Br-Fh; Sat, 30 May 2020 12:55:19 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:39420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jf4lS-0003na-GM; Sat, 30 May 2020 12:55:18 -0400 Received: by mail-wr1-x42d.google.com with SMTP id t18so7265979wru.6; Sat, 30 May 2020 09:55:16 -0700 (PDT) Received: from localhost.localdomain (43.red-83-51-162.dynamicip.rima-tde.net. [83.51.162.43]) by smtp.gmail.com with ESMTPSA id i3sm14540684wrm.83.2020.05.30.09.55.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 May 2020 09:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=V0Xhe941PXhd+YmAF+P/Etq6ib8J1T6jb9BBpOw9xBM=; b=OhtK0yQpMAoG+K4WCpfvRzB5hkeDvnQ195wPeJNM3IbPnDlVHtXpzGnqxXVbuGUMmG NVhrZZPnn3idhkw/Z0G4t63FZ77h9aZD9nQ3eD3FRlcae20luHoUqrYeKAzZcLS5xNsi WW365n5nGaDWRdY/Xk6yThFZ4gTOplOgfk5oMTmCidw4PQxFOIwArnaaJH46hBm1L3ho Pt23WnPNa9y1qpFn5MUB5WhePREoG4RJNbP6jkenQnp1G1WPObO3dR4ZsLoNWD0ab/C7 k1uAluMG47qEOWzbj1XZK5xNj70zaWL1AOw3tP3LMMnBgjPQqF5gna7C7plcXK7EC0hS ox+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=V0Xhe941PXhd+YmAF+P/Etq6ib8J1T6jb9BBpOw9xBM=; b=cjDTUPnNzQrQsnMPdenXxzFGqybqgEMdGj48ef+S4Qw8gFDmoNRf0Ab1lLdjKgkXuh SQN9bGtcBZGgblm8R7zqF/LVIbOQkgi7CLYVf/pb6Un2sUFaRXj3ERXZsb3emLFxUxo6 zyzYqxdUrr1PWe5vmq3zuXKnDNMDVNy12jy8SgohXLZ4T8qQNhKKIn2+OtObhGHoRYSB 7isf4zwuxz2rOWNYem24ccRQojabeNUIFR2e02pcDRPBf3RCdt9xq7/b6g2KSgM04cis g/xGRWEeccCgIcZUBPztM0sLD1+MkyOyQbu7q309c4hNwyVL2UtVFez3EDAbptAPZa0c vQVg== X-Gm-Message-State: AOAM532i+PHkWMehsY5iSlrLv9LwA5Ke2PU18tV4bq3etWUvdGrLB1C8 oMzChP9kvSjQ6LZ+mi6EqsWQhf3b X-Google-Smtp-Source: ABdhPJyhtn+gO++CuwViX9wv1wp6tIR7KZeGuQVVISb0E1vuv88ZDl50Y9nn+if832BMdP/m/nPWSw== X-Received: by 2002:adf:fb92:: with SMTP id a18mr8207362wrr.263.1590857714851; Sat, 30 May 2020 09:55:14 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] migration/vmstate: Remove unnecessary MemoryRegion forward declaration Date: Sat, 30 May 2020 18:55:12 +0200 Message-Id: <20200530165512.15225-1-f4bug@amsat.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , "Dr. David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) "migration/vmstate.h" only uses pointer to MemoryRegion, which is already forward declared in "qemu/typedefs.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Dr. David Alan Gilbert --- CI: https://travis-ci.org/github/philmd/qemu/builds/692879495 --- include/migration/vmstate.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index 30667631bc..eafa39f560 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -1199,7 +1199,6 @@ static inline int vmstate_register(VMStateIf *obj, in= t instance_id, void vmstate_unregister(VMStateIf *obj, const VMStateDescription *vmsd, void *opaque); =20 -struct MemoryRegion; void vmstate_register_ram(struct MemoryRegion *memory, DeviceState *dev); void vmstate_unregister_ram(struct MemoryRegion *memory, DeviceState *dev); void vmstate_register_ram_global(struct MemoryRegion *memory); --=20 2.21.3