Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4900711iob; Mon, 9 May 2022 04:26:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5M8j8LrkBlhMaD21I/OgUgy0kRiLXgMzeHjpP7sudnywkiLQ6oUbUQ2IxYCykxC+VXWnk X-Received: by 2002:a17:90a:2e83:b0:1da:3273:53ab with SMTP id r3-20020a17090a2e8300b001da327353abmr25778414pjd.14.1652095593086; Mon, 09 May 2022 04:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652095593; cv=none; d=google.com; s=arc-20160816; b=X1SL8Y3EL2XYinRR1fndLoYq/vLS6brHhg5tOEd8VWhiYmrz31l+2xb2mqgwT1uoit DXERfCjA/+Y0zCBVx3FpV9I7seKkbEQGpdtWG2EmSjgpUs99UltDR0syIswkmaF8llJl Kb3qsZ2otGNxrEKCV6x5K2R+H5BBmVA1+SnsBG+niB4VxHqu7yf0XXdK6RARC0EEH7xS DjMI09tYEhatr2+fs0xtPBs3oJgjD3zw6Gtp4dkngDdDB0f9uEpcKQ49Y8fHSTKc3mCt /p0528HTz0JIH2RiSWn7/JIYHSyIL5q3Zk6jG6VlsHHyKd3/TEdT6hBV64UoIeNn5QQL qNtQ== 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=4fP40eSvF34iHipeWPs64su+UfsOQc7xa/5u//Nm++E=; b=aHOzj7Cd8ScVtu+OpJkODQyVjf9IjNCk/BI2eg4VcryfVu7BFvcFDppxhF3OMbADFl WY5ynWVGteRJkQceDwaq20pDWKoVxfCEQuVwx2tBjZRLPiDJT30053oFyzgfwtrTn78a NjVPOPAg6yCs2zFac77j2EclB+RPLyyqF52dbsvtLJJAGCST06/omZUve1hdR91qmnuW lGvQbhfGyCoXjhjjJZCwnshBBABcq9pgFBpCPRO74HztlrSYLMTbF9mI1HkKL1KxrMkc K2mjD49xvviVYC7kwkoOkEi9zml9vEJjoQeMuTesFk3f5dKvnVusfv4OD73BkQgOwVWD WNqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ITLzDwzn; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id nv15-20020a17090b1b4f00b001da3cbbad56si15555380pjb.107.2022.05.09.04.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 04:26:33 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=ITLzDwzn; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0AE0B262653; Mon, 9 May 2022 03:34:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237351AbiEII6Z (ORCPT + 99 others); Mon, 9 May 2022 04:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237683AbiEIIrD (ORCPT ); Mon, 9 May 2022 04:47:03 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 247081C196C; Mon, 9 May 2022 01:43:08 -0700 (PDT) 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 Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org 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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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