[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1EA3AA11-946A-4C3C-9B87-1A6448B24627@holtmann.org>
Date: Thu, 26 Sep 2019 08:34:30 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Bluez mailing list <linux-bluetooth@...r.kernel.org>,
kernel-janitors@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] Bluetooth: SMP: remove set but not used variable
'smp'
Hi Yue,
> On Sep 23, 2019, at 16:05, YueHaibing <yuehaibing@...wei.com> wrote:
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> net/bluetooth/smp.c: In function 'smp_irk_matches':
> net/bluetooth/smp.c:505:18: warning:
> variable 'smp' set but not used [-Wunused-but-set-variable]
>
> net/bluetooth/smp.c: In function 'smp_generate_rpa':
> net/bluetooth/smp.c:526:18: warning:
> variable 'smp' set but not used [-Wunused-but-set-variable]
>
> It is not used since commit 28a220aac596 ("bluetooth: switch
> to AES library")
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> net/bluetooth/smp.c | 6 ------
> 1 file changed, 6 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists