[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <74272412-93e3-41df-be70-93df01c5c653@stanley.mountain>
Date: Mon, 28 Apr 2025 08:35:54 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Dave Penkler <dpenkler@...il.com>
Cc: gregkh@...uxfoundation.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3 V2] staging: gpib: Avoid unused variable warning
On Sun, Apr 27, 2025 at 11:19:02AM +0200, Dave Penkler wrote:
> This addresses a warning produced by make W=1 with the configuration
> parameter CONFIG_GPIB_PCMCIA=y
>
> ines/ines_gpib.c:1115:28: warning: variable 'dev' set but not used [-Wunused-but-set-variable]
>
> Remove the declaration and assignment of the unused variable.
>
> Signed-off-by: Dave Penkler <dpenkler@...il.com>
> ---
> V1 -> V2
> Remove the setting of the unused variable and say so in
> the commit message
You'll need to resend the whole patchset.
regards,
dan carpenter
Powered by blists - more mailing lists