From patchwork Thu Oct 13 13:05:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 614742 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp237010pvb; Thu, 13 Oct 2022 06:40:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4tnVuSZOO1gVP8/KCLsldtDCODBXtQJD+wB/pBGlGEFZG4keJMbcKyq567qoqLLYQg3ob/ X-Received: by 2002:a05:6214:300a:b0:4b4:806b:ea50 with SMTP id ke10-20020a056214300a00b004b4806bea50mr6251509qvb.7.1665668446823; Thu, 13 Oct 2022 06:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665668446; cv=none; d=google.com; s=arc-20160816; b=FrrwgV70KJ+vkpIF9k0b4YI6ZgrZezfRzerTeqD7WLGqWZu+Wb4CXHNSy/ZNxhoe+e mFE4KRNLflKGA3dl9d6b2pJq7hNPH7vdllJReMhFOQLNZbYBDixlcQsfUFsekLq9+0AD HTA49ggj48oYvsX7Ev24r4IV+M0w6r6dc7jopRjDygTGQ8AwgTJON46Uh3OjpJTbOvnC 7m8waRm3Qm/N1RtI8c0qsjFO/49APT4txnOcwUzH+EiMWJO9qVIUIjoduTOQFyDW9VUD gBg9wDh2BC98A5lKmc13gh7oxljzUmKDqULDPVIQkMUDA+fs07tHIq4rwQSVcWkMX4OV 4tqw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=Z10mhDJVwk3ax3+lJRI6nda2u/R14pZqSMyReUBFvks=; b=v82PRvoH9LwD0mW3/dU1vaiz32g0Q1WeUhPOSNYdRWbRQXiikHmCtKuHFBABzAPldo uDhFQuNcYm2/B6w2SAQs/b1a4e0BmEiFB85LpBCjifQOYYkUUTHu73LJ+0x4901zUNJN gYwjEQSrXG1L3fDeyIIK4uh4RgoMc8F5PjabaW2pejrBXY+glewdyFuWHIX4s3FtAquD flAnS5yHl0B9BgFMDvO44O0wF/580FSGwjvjK87vSQC/oyqDOu8C+b+tjoNIeffTcMRu hzTJ7lLi5Nf4bTB6AtmPVpL5iVZw1qP/3ZuHmeGeazItl97wBfAkn2/oZG2h/wIaT5rr s+tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IggOtt0S; 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=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ci8-20020a05622a260800b0039cbe876a23si2648774qtb.418.2022.10.13.06.40.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Oct 2022 06:40:46 -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=@linaro.org header.s=google header.b=IggOtt0S; 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=linaro.org Received: from localhost ([::1]:46642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiyS6-0000an-AQ for patch@linaro.org; Thu, 13 Oct 2022 09:40:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixtc-0002ln-Pj for qemu-devel@nongnu.org; Thu, 13 Oct 2022 09:05:09 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:39604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oixtZ-0000yd-UT for qemu-devel@nongnu.org; Thu, 13 Oct 2022 09:05:07 -0400 Received: by mail-wm1-x32e.google.com with SMTP id i133-20020a1c3b8b000000b003c6c154d528so80568wma.4 for ; Thu, 13 Oct 2022 06:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Z10mhDJVwk3ax3+lJRI6nda2u/R14pZqSMyReUBFvks=; b=IggOtt0So2ArUTBoVhaV9bst0rq7Ghme4eZIHDwQxBNGJknVmiFiBmoZPIGYfKjTYc xtV1agjZyJTz4EOueElLX8gKbR0PLTSlvu9VZcz/5r/tkcDvbscNHD1LHb/9C5HSevKT mr8FaixwFNqAcx8rNp6ZhYMlD2OxJLlueXgye9XX+DAmqO2BYhfAokxUnbvBiA5Lx1KN v0GDpH8RASjN/zZHn+i1zf1CD+fwtxltX35H5GhdtBWdyreJljQHogq2Uge59lb7Spxg g12X+YtIOZWRHeT5OOr67fp9HQgIauDvhq4n/cmWX4b9vA/AnrgVF7Xctt2YaiEVthEq yolA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z10mhDJVwk3ax3+lJRI6nda2u/R14pZqSMyReUBFvks=; b=cw044ehQd0WRlq3CSni7LpytcEgH2JhY+vIX5qHkw4ADUMOrBFvnsc/Vkimhuqc8ii 4M71cx4MtLtoHv6Y/G6K/5GB51T4VbYVpKR5VNLdD6qjeWyYB3SgEu6MkhAlqi0xoBI7 LgAWUE27MEoDqlNNp8ggPTx3nDXzUhj2q+b3QqKPB0przIo16zhqghLZdO4IxEPWVMy9 t3HeBL3iKZlf3elkwn+rNirwap6rWFZqf/ar/HNz9Jx9Brzfld1PQi9IJziGZvGa2mDE DA67Mf+aDW6oy19vqyJT60pSfwCHSynGal49n7dOqihpNRE3XqJbh3TR1H5Gi3mg2598 zp2w== X-Gm-Message-State: ACrzQf2qZPnKQ/zyWMbJCmbXSjn4fjHqxLbURHgqsq6IVfDj1pYJN+0c zOD6HArn+3xVvpMERdVfWRjfaOVQEGP3ug== X-Received: by 2002:a05:600c:538b:b0:3c6:b66d:4027 with SMTP id hg11-20020a05600c538b00b003c6b66d4027mr6190443wmb.146.1665666303345; Thu, 13 Oct 2022 06:05:03 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id r5-20020a5d6945000000b0022cc0a2cbecsm1995599wrw.15.2022.10.13.06.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 06:05:02 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: Thomas Huth Subject: [PATCH] include/hw/scsi/scsi.h: Remove unused scsi_legacy_handle_cmdline() prototype Date: Thu, 13 Oct 2022 14:05:00 +0100 Message-Id: <20221013130500.967432-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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" In commit 1454509726719e0933c80 we removed the function scsi_legacy_handle_cmdline() and all of its callers, but forgot to delete the prototype from the header function. Delete the prototype too. Signed-off-by: Peter Maydell Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé --- include/hw/scsi/scsi.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h index 001103488c2..9ad86b25bb4 100644 --- a/include/hw/scsi/scsi.h +++ b/include/hw/scsi/scsi.h @@ -187,7 +187,6 @@ SCSIDevice *scsi_bus_legacy_add_drive(SCSIBus *bus, BlockBackend *blk, BlockdevOnError werror, const char *serial, Error **errp); void scsi_bus_legacy_handle_cmdline(SCSIBus *bus); -void scsi_legacy_handle_cmdline(void); SCSIRequest *scsi_req_alloc(const SCSIReqOps *reqops, SCSIDevice *d, uint32_t tag, uint32_t lun, void *hba_private);