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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0652DC4332F for ; Thu, 10 Feb 2022 08:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237904AbiBJIrI (ORCPT ); Thu, 10 Feb 2022 03:47:08 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237870AbiBJIrG (ORCPT ); Thu, 10 Feb 2022 03:47:06 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A2811E7; Thu, 10 Feb 2022 00:47:08 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9ADE860EFB; Thu, 10 Feb 2022 08:47:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0412C340ED; Thu, 10 Feb 2022 08:47:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644482827; bh=38hpu9snVYLkh52SddNroOa3n7Mojq75rM3tru+Si1M=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ptm/3qISA+Z/QNILqwZUknrnwihP60fcjaBWDXHpEyMclieqiWh+33qXp7JGdENi8 RNam1xnsOb+80zCyoCoI/hw6WXdeMbLWs8TFqCRg/t6b/fooMMx86VHFLa7HDC4fwE l1LRnJRWR1bdZw+q4/3Kg6zuEey0r/plSbgdmAk4/O87MGhljeqaTLm+R1LQNx/puq Rau74jEJzeSFVmTo/dN3KX2FUwoB6rMMqXWnQJCcf3XIxJ+3hish8GQxCZdpF3rHie Di8mvsjGS7piZhL7/uCcu2vkP8wu6hNlZh7xybMgNxQ5T648kIyAikxt8qnU+2jI6+ ViGrjjEUfHmdA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH][next] brcmfmac: of: remove redundant variable len From: Kalle Valo In-Reply-To: <20220207133329.336664-1-colin.i.king@gmail.com> References: <20220207133329.336664-1-colin.i.king@gmail.com> To: Colin Ian King Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Chi-hsien Lin , Wright Feng , Chung-hsien Hsu , "David S . Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164448282223.15541.14523972377351410590.kvalo@kernel.org> Date: Thu, 10 Feb 2022 08:47:03 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Colin Ian King wrote: > The variable len is being assigned bit is never used. The variable > and the strlen call are redundant and can be removed. > > Signed-off-by: Colin Ian King Patch applied to wireless-next.git, thanks. 2fd6d2ef6860 brcmfmac: of: remove redundant variable len -- https://patchwork.kernel.org/project/linux-wireless/patch/20220207133329.336664-1-colin.i.king@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches