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 X-Spam-Level: X-Spam-Status: No, score=-22.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EE5AC433B4 for ; Thu, 20 May 2021 13:22:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 795E66108B for ; Thu, 20 May 2021 13:22:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239319AbhETNXc (ORCPT ); Thu, 20 May 2021 09:23:32 -0400 Received: from smtp121.iad3b.emailsrvr.com ([146.20.161.121]:59509 "EHLO smtp121.iad3b.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232855AbhETNX1 (ORCPT ); Thu, 20 May 2021 09:23:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mev.co.uk; s=20190130-41we5z8j; t=1621516926; bh=N2TMvpRHww+NI7PhUZYY30bfmqvJ7baNd0nZEvc4dNk=; h=Subject:To:From:Date:From; b=gtXo7nqCajpCgdH9VJ8q9fcDOBSIaGefPlu4XZFGZIq0f3iMHL6j/Y3JvPnZYD56E MqeZ8isN6Mmc6iETjU/9pifdw0y1u2lbJi3gt8tsPxz6q7cOgeLhHp+vxQmhsoNXZB FtiJjeejflK6GD0oJG5JB7s22mevhk1kHiP0UJpE= X-Auth-ID: abbotti@mev.co.uk Received: by smtp8.relay.iad3b.emailsrvr.com (Authenticated sender: abbotti-AT-mev.co.uk) with ESMTPSA id 22B8340074; Thu, 20 May 2021 09:22:04 -0400 (EDT) Subject: Re: [PATCH 2/6] comedi: drivers: jr3_pci: Remove set but unused variable 'min_full_scale' To: Lee Jones Cc: linux-kernel@vger.kernel.org, H Hartley Sweeten , Greg Kroah-Hartman , "Alexander A. Klimov" , Anders Blomdell , linux-staging@lists.linux.dev References: <20210520122538.3470259-1-lee.jones@linaro.org> <20210520122538.3470259-3-lee.jones@linaro.org> From: Ian Abbott Organization: MEV Ltd. Message-ID: <9d0ac108-7256-be1a-fdd9-f48f52aaa38e@mev.co.uk> Date: Thu, 20 May 2021 14:22:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210520122538.3470259-3-lee.jones@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Classification-ID: 9f95dd61-1342-41fb-af1c-c84f47d499e7-1-1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/05/2021 13:25, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/staging/comedi/drivers/jr3_pci.c: In function ‘jr3_pci_poll_subdevice’: > drivers/staging/comedi/drivers/jr3_pci.c:507:22: warning: variable ‘min_full_scale’ set but not used [-Wunused-but-set-variable] > > Cc: Ian Abbott > Cc: H Hartley Sweeten > Cc: Greg Kroah-Hartman > Cc: "Alexander A. Klimov" > Cc: Anders Blomdell > Cc: linux-staging@lists.linux.dev > Signed-off-by: Lee Jones > --- > drivers/comedi/drivers/jr3_pci.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Actually, that one is stale now (or will be when Greg's staging-next branch gets merged into linux-next soon): https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&id=b9f38e913a926b455e5048a95f53a993b515509f | staging: comedi: Remove unused variable ‘min_full_scale’ and function 'get_min_full_scales' | | The variable ‘min_full_scale’ and function 'get_min_full_scales' are | not used, So delete them. -- -=( Ian Abbott || MEV Ltd. is a company )=- -=( registered in England & Wales. Regd. number: 02862268. )=- -=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=- -=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-