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 7C227C433F5 for ; Mon, 9 May 2022 08:44:06 +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 9766F18A4; Mon, 9 May 2022 10:43:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9766F18A4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652085844; bh=hal3Sv3BK3F0FWX68f4RRzDQbympgVjZtt4vsvc217Q=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=h+Pzcm962+Fj9ZDA94H+G3OcRETTVFy6u+Q+57qE/zzot+P6Nz3h9HweXVkHEgRjY rQORri8BkipddEVLeWSc1U9a4oR2kEzxcCuZlz+f0ZdnmLVhqvx+I6AK1KTiZLtisv xWZ0WOAY/60sTlxwjs30e3M8bEelOe6BH3Fbt0xk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3BCAFF8011C; Mon, 9 May 2022 10:43:14 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6B305F8025D; Mon, 9 May 2022 10:43:12 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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 162F7F8014C for ; Mon, 9 May 2022 10:43:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 162F7F8014C Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="ITLzDwzn"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="buLvgq0U" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id A957A21BA8; Mon, 9 May 2022 08:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1652085787; 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=4fP40eSvF34iHipeWPs64su+UfsOQc7xa/5u//Nm++E=; b=ITLzDwznAxOYPqTy41JoGTKG+v0edPIP0By/fktrWFAshuA+WpFlpj3+R0WIPT81rTEHyL MMUDVuMYXOHKET57pu4W4RZjo1xwwlvSm0heY5ZIHeSuBiTHGk398aNQnDZqVEv/gg3hUs uTOomNZImpQR8nsTwDxCnXkbjWNBA1o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1652085787; 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=4fP40eSvF34iHipeWPs64su+UfsOQc7xa/5u//Nm++E=; b=buLvgq0UIGTEf49offxL6DOTTL+OwyuyXDtvho47b5RpYigc9W0x9/gOe5gG/MKc0Qm4mS cG4JvaBIOElIlWDg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 90DF82C141; Mon, 9 May 2022 08:43:07 +0000 (UTC) Date: Mon, 09 May 2022 10:43:07 +0200 Message-ID: From: Takashi Iwai To: Colin Ian King Subject: Re: [PATCH] ALSA: hdsp: remove redundant assignment to pointer kctl In-Reply-To: <20220508212819.59188-1-colin.i.king@gmail.com> References: <20220508212819.59188-1-colin.i.king@gmail.com> 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: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, Takashi Iwai 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 Sun, 08 May 2022 23:28:19 +0200, Colin Ian King wrote: > > Pointer kctl is being assigned a value that is not being read, buf > is being re-assigned later. The assignment is redundant and can be > removed. > > Cleans up clang scan build warning: > sound/pci/rme9652/hdsp.c:3317:28: warning: Although the value stored > to 'kctl' is used in the enclosing expression, the value is never > actually read from 'kctl' [deadcode.DeadStores] > > Signed-off-by: Colin Ian King Thanks, applied. Takashi