Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp514997rwb; Thu, 22 Sep 2022 23:28:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4hJWfrWFzk7za4nJJYBoPH6XzVnHTxPoCuN17F9yHSfdra2gCGG4SJq4AkvQUPXKdQT74f X-Received: by 2002:aa7:c990:0:b0:453:fad5:2a30 with SMTP id c16-20020aa7c990000000b00453fad52a30mr6893601edt.309.1663914526052; Thu, 22 Sep 2022 23:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663914526; cv=none; d=google.com; s=arc-20160816; b=chh9cYK51IVY9YoBIY0o89rUDBKprBhzQZxFSJsBWYeNL3zntrMWpnqmikY6h4tVRf q0Jsssxz+JlAiMTvMrSjhdi96rD83oZrkYhsxNeHOTSlBxKja/1V9nKbNEhpz/kwbwkh ClhNTZhkgRWnkURtnml1pPoDCBiGNvePvmLZeSFBwzMtqV81Fo3urRqZtsV4Hkw+Nhrn m/60lA+Sn9Iu+O55z9dK9U8+Urk5Fu+MrI4QwsHy3bntvtk7MuuBHdgnR0WHwhiIkkRN Ma1S5YtQmPq/00uLYvINbhGIDY2/0FXs0G0ZFuLoTUN9fXHrQoFkWF2YjHzUv6WI+vH0 BiGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=uCsm5uTbmdADArEaztyvAbaEvXmuC0iXtll+2X53kEU=; b=pARYoBdzuLue+guUW8+AR8aaXvCZqtYWwJIgNq1MJr5+MjctiuCqjjEBKJM1pSYG3b EzqihW3BPp8lVK/NQK/sIv76QI1m3mH1gWztugtRVg9O3KSa0FTe0ZW/9sgfnf8op48u 2HtkXI6G7Ztc3a+IX2wnfcO3HauxXTfqoTdjYoVWZKQjz0SjfU+WXCmB5c/J+s76WDwl 1ntjVpaYcET6+yK66kCFER0P86qhhuBSZQMUG4XhF4zZ7ruOqxHkQEZ+AVsq0CAOxZGI dgsyOVJuWNLSvMMIATqLJUbBOU8JeeXJNIhfTizjsmQwB24ZhKusKLuEtHUdp/qyk6X6 NtSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd37-20020a17090796a500b0077a06303f06si8543875ejc.687.2022.09.22.23.28.20; Thu, 22 Sep 2022 23:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230172AbiIWGVq (ORCPT + 99 others); Fri, 23 Sep 2022 02:21:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230085AbiIWGVp (ORCPT ); Fri, 23 Sep 2022 02:21:45 -0400 Received: from isilmar-4.linta.de (isilmar-4.linta.de [136.243.71.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CBD6126B50 for ; Thu, 22 Sep 2022 23:21:44 -0700 (PDT) X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from owl.dominikbrodowski.net (owl.brodo.linta [10.2.0.111]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 9DB41201335; Fri, 23 Sep 2022 06:21:42 +0000 (UTC) Received: by owl.dominikbrodowski.net (Postfix, from userid 1000) id 9B7F9807B4; Thu, 22 Sep 2022 16:39:42 +0200 (CEST) Date: Thu, 22 Sep 2022 16:39:42 +0200 From: Dominik Brodowski To: Souptick Joarder Cc: tony@atomide.com, arnd@arndb.de, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] pcmcia: Removed unused variable control. Message-ID: References: <20220725012955.4928-1-jrdr.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220725012955.4928-1-jrdr.linux@gmail.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,DATE_IN_PAST_12_24, SPF_HELO_NONE,SPF_NONE 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 Am Mon, Jul 25, 2022 at 06:59:55AM +0530 schrieb Souptick Joarder: > From: "Souptick Joarder (HPE)" > > Kernel test robot throws below warning -> > drivers/pcmcia/omap_cf.c:127:7: warning: variable 'control' > set but not used [-Wunused-but-set-variable] > > Removed unused variable control. From a code-generation standpoint, this is obiously correct, and probably the compiler removes that omap_readw() already. But, to be honest, I'm not perfectly sure on what the device expects -- and whether it's required to write back the control register (or parts of it). Does anyone still have the hardware (or specs)? If not, I'm tempted to apply this patch on the basis that the compiler might remove that omap_readw() anyway. Thanks, Dominik