Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp174355pxb; Tue, 17 Aug 2021 22:52:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO0UK0xa0+tSIFtLVS7e5MB48Vw9QapA3VjaHbLuRg6HqCsni376fkSy2KprI+Ko9nVjOp X-Received: by 2002:a92:d3c1:: with SMTP id c1mr4996597ilh.194.1629265964121; Tue, 17 Aug 2021 22:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629265964; cv=none; d=google.com; s=arc-20160816; b=I4tULkwSyStgPmwk2TvCLvL1O/qqZGBALDEuCxrUqGrbXp7wrbvA5SyYdr9YTDT3J6 nagQu+4qeHZu6Vl41MZQvcf+EcvZPp44C68TxOzhPbsL8PEsKFTdg6oWjTXzoLIKn/+o zFr09yTEjIVeyYZGIkcc30A+UhlfsaGZ8fIhyjFO4LoMLehStbLk+FJCeBXmt8803Vom rwVg1F/MBx1fehu5UleefKwQQK7fWwaRAeCZ31d4XmKm6tu3oVkWjqtXB8aGPToxRYBJ MzNNig3lm75VyDczqeWOEB2sWcvPZmqcgtGYJQraI3tIgGYurpBi/QB8f5wyBZl+YS7d +GDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=JDYguPju9/kPVOrdvj2ecQ6HV2Um3jbt5Pj+dMvZWls=; b=MyYOnE9xk1Lykpx1EqbboTQ31TgqCPN8f1uFtb9QlObtlcKVp6K9YfaW2jY7DBOu5D UnXWujlayNN4fKRPjcOmvZbkUq+EBRyqNvhHvLh3yoxol6WN3qNMb9Vzlu80Dmn0GW9H 9V0n0ZKuzc6bzllat1dlceIiQVupR8evR2viWhsbW205e7P2pS/bzYOncuLGaRubqdq5 SyjZ+6ZvrpcU/rPKM7yJDl9bbZiWgiHJw46aKxWgpIHI0Uyk+yRWS6ruL7JjtakbrV2b yb2FGjQw5hU4gvOsfSPaXLVjtB1CNg1B09UJIaVg/bPF3I+zJQqjBPgKa8VJeQAmDnAK D7sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GAHoJJJD; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=nkJDNSlz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si4489303jar.79.2021.08.17.22.52.32; Tue, 17 Aug 2021 22:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GAHoJJJD; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=nkJDNSlz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237892AbhHRFwQ (ORCPT + 99 others); Wed, 18 Aug 2021 01:52:16 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:59376 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237856AbhHRFwQ (ORCPT ); Wed, 18 Aug 2021 01:52:16 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id DC05E21FF9; Wed, 18 Aug 2021 05:51:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629265900; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JDYguPju9/kPVOrdvj2ecQ6HV2Um3jbt5Pj+dMvZWls=; b=GAHoJJJDoygCHqXZ3aOczRyPolrBFhIQi7V4QXFEUoJgPT3qNv1yB8nTfGd7StoOjSMUrt bXeTJKa3fNhRbIsj+LYRi2++mK9lJhtaApZIM8nNIEHUoKHbUd7aXnJGNwx1X7ivm177bq 7uX9Ihqq14LRJ8OQ0q4W6vEb22U2DJE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629265900; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JDYguPju9/kPVOrdvj2ecQ6HV2Um3jbt5Pj+dMvZWls=; b=nkJDNSlzTnYWCUouxMfWcX6LbxFTPHHlTHazc1i7Rt/8GMTrECKa4d2Oh/PdqnjLry9IAL 3XQf/Dpvs0Pv1FBQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id BEA82A3B91; Wed, 18 Aug 2021 05:51:40 +0000 (UTC) Date: Wed, 18 Aug 2021 07:51:40 +0200 Message-ID: From: Takashi Iwai To: Nathan Chancellor Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ALSA: hda/sigmatel - Sink stac_shutup() into stac_suspend() In-Reply-To: <20210818012705.311963-1-nathan@kernel.org> References: <20210818012705.311963-1-nathan@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 18 Aug 2021 03:27:04 +0200, Nathan Chancellor wrote: > > When CONFIG_PM is not set, there is an unused function warning: > > sound/pci/hda/patch_sigmatel.c:4383:13: warning: unused function > 'stac_shutup' [-Wunused-function] > static void stac_shutup(struct hda_codec *codec) > ^ > 1 warning generated. > > Sink the contents of stac_shutup() into stac_suspend() since > stac_shutup() is only called in that one location now. > > Fixes: 327b34f2a97d ("ALSA: hda: Nuke unused reboot_notify callback") > Signed-off-by: Nathan Chancellor Thanks, applied. Takashi