From patchwork Wed Nov 23 14:44:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 627923 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp3207872pvb; Wed, 23 Nov 2022 06:46:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf721JYnD1bj0y+v1NBauKP9D5oIKfoqcDTd0qsIXwn4YjwqBqY/Qz9k9VQwbHoxUKoUJPzn X-Received: by 2002:a05:620a:205a:b0:6ee:e68d:15d7 with SMTP id d26-20020a05620a205a00b006eee68d15d7mr25375075qka.432.1669214819180; Wed, 23 Nov 2022 06:46:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669214819; cv=none; d=google.com; s=arc-20160816; b=y2cdRMVRvR+zHR0CC6Fbxysh4Crw1YjjdSoNnAh2vbfRFMJKxyymtywqYgq+YJ8Y9i niwmFnKmOe0FQTwl1o/hKxRJ+4+bu8BHPSbaSeQ4SAAHQ5rD+UCJfy2ZGAvhw9z6cgkg TknCDL+oK7Raxg7kN5KVi6qIz46YZv2P1DVf7qZcC4qkuxpe2D1KeYByrVjDVc5XUL2K v2V5C4SXKu0NW9Y2qXr7EDiX0RCnl57Ad4iAML4GYtQAMZ9/yOa7RSMdgb6BAdyAE3Tc CBMeNGiMpLcOS+LMSZ0xzrGDuWXoZteDlmvyjeqtAwg0Llq0hQdsJ6zXn2b1GUm7ZoDb Q0Eg== 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; bh=RvRornF0UP+YAUVQJVOhfdS/fehOEMGhFx6rOPhJO10=; b=nepJ71EMRFzquGXWXmxAgPyOK4IQFXkufpuASz0c0a7BGNv95kieKqhi3tqfgy0qur SvosJe+k8cVB9c5jPhsFgkxlbtEQlLG8WxMWYY092OX1DcmBtLR96N+MVPQm25gUNx8U sZ+pUP3/mh3j7rs422ewWkBEfED01wQ1RDIlFAnov8vhV31LCeBC5ihb5fmCD/R+Cfre Y278uxoKttDWekQUqreyY0K/R1xp55cTeGp4KnwG3QAXlwdEMLZhwgqkLC0XaYvqqd1j 5kz/9pxqc3AWdu4vFkmIN+ZjGFx7RkSTIlwD4Y1VRTomE4rYso8xrX1+zVobnt6jtjLa wI4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZyBluThL; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ci18-20020a05622a261200b0035ba2dadf6dsi10381233qtb.411.2022.11.23.06.46.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Nov 2022 06:46:59 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=ZyBluThL; 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=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxqzj-0004G1-Ej; Wed, 23 Nov 2022 09:44:59 -0500 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 1oxqzi-0004Fr-HR for qemu-devel@nongnu.org; Wed, 23 Nov 2022 09:44:58 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxqzh-0002x0-6v for qemu-devel@nongnu.org; Wed, 23 Nov 2022 09:44:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669214696; 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: in-reply-to:in-reply-to:references:references; bh=RvRornF0UP+YAUVQJVOhfdS/fehOEMGhFx6rOPhJO10=; b=ZyBluThL8Xi3X/5AFYJEokpFXyraRfCSH1J98DOje/qva744Ri0I78n37WRB0llF3UnKCa i5fOz582mxrof62BisSDKi5DLSUNZT/z+e9Z51dDVhiK4JfddRnLbd3u9oej1YFiJAzGP8 m/w8Mu2KXtZikqFLRdnTkn3ce2Cy6UQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-549-yA70E48IPUOYGaRnxYEaVA-1; Wed, 23 Nov 2022 09:44:53 -0500 X-MC-Unique: yA70E48IPUOYGaRnxYEaVA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9766D38123B9; Wed, 23 Nov 2022 14:44:52 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.194.45]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F71940C83BB; Wed, 23 Nov 2022 14:44:52 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 3AFAD1800623; Wed, 23 Nov 2022 15:44:37 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Paolo Bonzini , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Peter Maydell Subject: [PULL 7/7] hw/audio/intel-hda: Drop unnecessary prototype Date: Wed, 23 Nov 2022 15:44:36 +0100 Message-Id: <20221123144436.2141069-8-kraxel@redhat.com> In-Reply-To: <20221123144436.2141069-1-kraxel@redhat.com> References: <20221123144436.2141069-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 Received-SPF: pass client-ip=170.10.129.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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.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: Peter Maydell The only use of intel_hda_reset() is after its definition, so we don't need to separately declare its prototype at the top of the file; drop the unnecessary line. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20221014142632.2092404-3-peter.maydell@linaro.org> Signed-off-by: Gerd Hoffmann --- hw/audio/intel-hda.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index 38cfa20262e2..b9ed231fe849 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -220,8 +220,6 @@ struct IntelHDAReg { void (*rhandler)(IntelHDAState *d, const IntelHDAReg *reg); }; -static void intel_hda_reset(DeviceState *dev); - /* --------------------------------------------------------------------- */ static hwaddr intel_hda_addr(uint32_t lbase, uint32_t ubase)