From nobody Sat May 4 23:15:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1631905302; cv=none; d=zohomail.com; s=zohoarc; b=eXcV2rmuaraPTRoqJwJ1iAKAZUTzI3pnM3GZaD6QzC1mZMf2wWs2uB0ol71w/FjCXp7FIrWKdLa0wAN8dMlmlZE3+rLa8ZSU+AtuuiX8LUZ+ejf1oxWnxZhnQs1OsgomV3O2h24lgImX1HO5+CQvK03GwLqTxfRCswdfgdsnePQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631905302; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=hgoghYfZRIeDvRxj3ZfcbgvdiGQl14HjQky0pmmWBDQ=; b=PNlhMQrzyVnd0IMGc//bMXWAN3RAJQNrR3R+beWG24jjQq+9nuhfWMdQVx5+HSnrOdxqLbM8CZU6pciGkZXbQ0l8JrX5/XMbCKmCB3b6e5ph429NlbJ7wRDNJsxPQwINUCf/3zRBvL4Znk7L3AtMJoOO8bKsyfB6ZvrwieoYtCE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 16319053020764.772236653546656; Fri, 17 Sep 2021 12:01:42 -0700 (PDT) Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-294-xlhwq7_bMh6iOVewxMzmIA-1; Fri, 17 Sep 2021 15:01:39 -0400 Received: by mail-wm1-f69.google.com with SMTP id k5-20020a7bc3050000b02901e081f69d80so5053941wmj.8 for ; Fri, 17 Sep 2021 12:01:39 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (14.red-83-35-25.dynamicip.rima-tde.net. [83.35.25.14]) by smtp.gmail.com with ESMTPSA id z2sm6943353wma.45.2021.09.17.12.01.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 12:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631905301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hgoghYfZRIeDvRxj3ZfcbgvdiGQl14HjQky0pmmWBDQ=; b=OjrW3LsIRuGNhF4IbrmVeW+Ajx2v5xfmcWa40E7pZwy2hCOeLgxZzcHyu2xTn0gI3EM/B6 QB0GdVi3/2VrmyScFqk9P6elleQw7QCJU+nVehp5mU3B3Ola71qHJzCRu99x/bYcvcFYaT zzvBwLWeJrk/Ih1gjFKWK1GLSMsJtbc= X-MC-Unique: xlhwq7_bMh6iOVewxMzmIA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hgoghYfZRIeDvRxj3ZfcbgvdiGQl14HjQky0pmmWBDQ=; b=KkaC4WCrfZtEFwdPNHMpuZz4Mizp55V/laEOrzzG6M4isgorSKWll9zMIzzE+EohPB Va49VShoy+BcNhSHuSd3RWNDtecKyXUlEAFoj25LX7U+2fJh1yYu9FDlpe68jmQf7BRI qHZ7kwYbUiHoUTH5Rmn6I8+kCfvca8tvIK4a+sTcEQkbfWOOB4/M+h/7VEDayNkGuPox toSdicHoy0tobQUT0g3CPs0dWzY4C1FVvajKdGSTfxBDYMd41acCKQ7SO+cw7rTQDuEJ LBl5n36y9PgT51qUuwgzP4pQakc66JwiffheipqD4DArhLkXevy4HP79SXX7NNzxNXvc ZKYg== X-Gm-Message-State: AOAM530bzxgQeGErNBuz0VLN214/lPW+Ux0LS9dBTUwHMt1xhGhLV8uZ P7qxrw0sh8y9vsg+eXji6Ak7RBQaeVOWMiluITtyUbsL+ezAtgNhgaZYpjRSfyYXOk+WEqJD1xA coT5iEosNCiFSQg== X-Received: by 2002:adf:f1c4:: with SMTP id z4mr13907814wro.418.1631905298570; Fri, 17 Sep 2021 12:01:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYVniF5UDzS5kXD1Oe0bnlBXHQCegOuasLEHxFwYZ0+nYtjS9Yyn/btUgk+Finuzk2ORs+4Q== X-Received: by 2002:adf:f1c4:: with SMTP id z4mr13907796wro.418.1631905298414; Fri, 17 Sep 2021 12:01:38 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Alistair Francis , qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/loader: Remove unused rom_add_file_as() definition Date: Fri, 17 Sep 2021 21:01:36 +0200 Message-Id: <20210917190136.2246440-1-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1631905303415100001 rom_add_file_as() is not used anywhere, remove it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis --- include/hw/loader.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/hw/loader.h b/include/hw/loader.h index cbfc1848737..c52a1df8b68 100644 --- a/include/hw/loader.h +++ b/include/hw/loader.h @@ -329,8 +329,6 @@ void hmp_info_roms(Monitor *mon, const QDict *qdict); rom_add_blob(_f, _b, _l, _l, _a, NULL, NULL, NULL, NULL, true) #define rom_add_file_mr(_f, _mr, _i) \ rom_add_file(_f, NULL, 0, _i, false, _mr, NULL) -#define rom_add_file_as(_f, _as, _i) \ - rom_add_file(_f, NULL, 0, _i, false, NULL, _as) #define rom_add_file_fixed_as(_f, _a, _i, _as) \ rom_add_file(_f, NULL, _a, _i, false, NULL, _as) #define rom_add_blob_fixed_as(_f, _b, _l, _a, _as) \ --=20 2.31.1