From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D19D1C433F5 for ; Sun, 8 May 2022 09:12:15 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 650321724; Sun, 8 May 2022 11:11:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 650321724 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652001131; bh=f9VN40cYqYoYc1+eFPgOTnr1N7WgpJVS6+elZTH4bw0=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=dZ0KI8zIW/Rca3B4mvN3ZB1sVNCupumeGhPk1HJA7xNOUzXaVjrVP5vUK1RJYe7AI VoUJBtQoKUzKibGcgkLVqNkbvkpCcP+mftzNJ1oGVlvuvixSnpmtCW4LLGWp3cyyCA 8wokLAEBANOXT3ar4XjzmFY0v6jTGLdokfIe10KI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0F83AF800E8; Sun, 8 May 2022 11:11:21 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 54274F800D3; Sun, 8 May 2022 11:11:19 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AF929F800E8 for ; Sun, 8 May 2022 11:11:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AF929F800E8 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="kkT7CCy/"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="CCmfS9bk" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 504361F94E; Sun, 8 May 2022 09:11:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1652001073; 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=2utLszVOX1va5kwC4Bhl/oahyyYjhEmmhysyvWRmi08=; b=kkT7CCy/jg/Zfk+LWkO9m8oycjdgnuDsT+UfJU9Yp0PtuXlMfb5aoJbbQch733UTG+qi0f lYSVc77uv6gflvMXUNnJE5cYTjFsS6fsbzIOftASbPW4VGldQ9Tqfmrhe6q2FAkru07ZIt GXHlmi+WajS4CD7yDUIZ4RNWta++q4k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1652001073; 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=2utLszVOX1va5kwC4Bhl/oahyyYjhEmmhysyvWRmi08=; b=CCmfS9bk3y21RXSbTTZIbzVf7sIoDEaREDL3/wR+CrNhvnMO3hOEV8FYhQ8/mdD+Ip9N0C PGMGjdg6zvjzqvDQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 3D15C2C141; Sun, 8 May 2022 09:11:13 +0000 (UTC) Date: Sun, 08 May 2022 11:11:13 +0200 Message-ID: From: Takashi Iwai To: Randy Dunlap Subject: Re: [PATCH] ALSA: hda - fix unused Realtek function when PM is not enabled In-Reply-To: <20220430193318.29024-1-rdunlap@infradead.org> References: <20220430193318.29024-1-rdunlap@infradead.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 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel test robot X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Sat, 30 Apr 2022 21:33:18 +0200, Randy Dunlap wrote: > > When CONFIG_PM is not enabled, alc_shutup() is not needed, > so move it inside the #ifdef CONFIG_PM guard. > Also drop some contiguous #endif / #ifdef CONFIG_PM for simplicity. > > Fixes this build warning: > sound/pci/hda/patch_realtek.c:886:20: warning: unused function 'alc_shutup' > > Fixes: 08c189f2c552 ("ALSA: hda - Use generic parser codes for Realtek driver") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Takashi Iwai > Cc: Jaroslav Kysela > Cc: alsa-devel@alsa-project.org Thanks, applied now. Takashi