From patchwork Fri Sep 17 19:01:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12502933 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78B0FC433F5 for ; Fri, 17 Sep 2021 19:04:28 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6317610A6 for ; Fri, 17 Sep 2021 19:04:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E6317610A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:42260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRJ9u-0000j0-Ii for qemu-devel@archiver.kernel.org; Fri, 17 Sep 2021 15:04:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRJ7H-0007OV-Nb for qemu-devel@nongnu.org; Fri, 17 Sep 2021 15:01:44 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:35903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRJ7G-00079a-6X for qemu-devel@nongnu.org; Fri, 17 Sep 2021 15:01:43 -0400 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= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-505-VJa4tJeQPvOmAxTXqb-_wg-1; Fri, 17 Sep 2021 15:01:40 -0400 X-MC-Unique: VJa4tJeQPvOmAxTXqb-_wg-1 Received: by mail-wm1-f70.google.com with SMTP id g130-20020a1c2088000000b00308ecd761e8so2184614wmg.2 for ; Fri, 17 Sep 2021 12:01:39 -0700 (PDT) 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=CThkOVyE4UoPPIaP+ye5rwzKhZkSmTtytvu4+Z9bKmWfMERFDP+VsKrjKlop78PjcP YELUpSyS+z6kPueCTilyEKVKJlKMapu+AJsdsx61edzTT+qNh/xCCfiyrGBOUhLKg8lB FXSbzez8dMPgQ/mtTqKyYa4XUjRE8A+h41y/qFpx/PU8SH97KZWS+PaRroeIij5koEyb X4EMQLsUk1GFs+Uv4EgNO0Idevc/mzLXiiwGjL+lcRdKiirJLbD6ZOroTO8H422Ht6rZ /3EgDar43UQcOko/5QcnRT5RqhvPta5YGR3ZXvo+1sLOJ9JpGEzCSHfPJA2BpLQh1+/H KYbg== X-Gm-Message-State: AOAM531rtLaKoYFw4ukjctRiZvbo0MTZ+NBAAwlBYXKFX+Tl+wP5zPee icKcDVypP9C3rb3JQeFw6iJed9NziTKVOMYJkL4+wPGQ3k8YEyfm80xydGcEq76f6Byo5wv7bSw 5r1ZtsOkEjp2ta//0N4xL6PaHBtiWqi2rdtCQIsZODCdZ+Rpkg9vK+sSqAz8VjdVN X-Received: by 2002:adf:f1c4:: with SMTP id z4mr13907826wro.418.1631905298656; 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) 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) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org 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 Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.392, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Alistair Francis , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" rom_add_file_as() is not used anywhere, remove it. Signed-off-by: Philippe Mathieu-Daudé 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) \