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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7637DC7618A for ; Sun, 19 Mar 2023 08:11:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230091AbjCSILJ (ORCPT ); Sun, 19 Mar 2023 04:11:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjCSILH (ORCPT ); Sun, 19 Mar 2023 04:11:07 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8D751BAFB for ; Sun, 19 Mar 2023 01:11:06 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 42FE81F88B; Sun, 19 Mar 2023 08:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679213465; 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=VHFwDneLiJmFquAHdRWujYxIig/wGVMksdhxhMhz/ic=; b=WCRXxqKvbstBzc9v+FWk4+AcC+wRYWmAm7kGYNR1bT7QfHTNfp0rkQ5Ut7t9X2ERkEi8ej +b+svi9muuHHO/ujQwYsYPjXMuYtdDyHVYr8PzHrSzOvTLQpv8TUTkybDQKlGWO4OxvDMc zLHDuTAQT1UZPdXKZXxm6v5ZEtCeaWo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679213465; 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=VHFwDneLiJmFquAHdRWujYxIig/wGVMksdhxhMhz/ic=; b=6JHgZDJHcmi/yCpJ+qDdOyXsD19r8pQf/lToSf0I/dhBpsvSIuz1CJcnt8gnrBqB06+Tv1 vEDQaoJI97Qu/0AQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0FDA4133E6; Sun, 19 Mar 2023 08:11:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id i2HtApnDFmTXPQAAMHmgww (envelope-from ); Sun, 19 Mar 2023 08:11:05 +0000 Date: Sun, 19 Mar 2023 09:11:04 +0100 Message-ID: <87lejtma93.wl-tiwai@suse.de> From: Takashi Iwai To: Tom Rix Cc: perex@perex.cz, tiwai@suse.com, nathan@kernel.org, ndesaulniers@google.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] ALSA: portman2x4: remove unused portman_read_command,data functions In-Reply-To: <20230318135229.1685266-1-trix@redhat.com> References: <20230318135229.1685266-1-trix@redhat.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 18 Mar 2023 14:52:29 +0100, Tom Rix wrote: > > clang with W=1 reports > sound/drivers/portman2x4.c:185:18: error: unused function > 'portman_read_command' [-Werror,-Wunused-function] > static inline u8 portman_read_command(struct portman *pm) > ^ > sound/drivers/portman2x4.c:195:18: error: unused function > 'portman_read_data' [-Werror,-Wunused-function] > static inline u8 portman_read_data(struct portman *pm) > ^ > These static functions are not used, so remove them. > > Signed-off-by: Tom Rix Applied now, thanks. Takashi