Re: [PATCH 4/6] rtc: rv3029: Removes some checks and warnings
From: Alexandre Belloni
Date: Fri Apr 22 2016 - 19:30:14 EST
Hi,
On 21/04/2016 at 20:24:17 +0200, Mylène Josserand wrote :
> @@ -829,8 +829,6 @@ static void rv3029_unregister_driver(void)
>
> static int rv3049_probe(struct spi_device *spi)
> {
> - int res;
> - unsigned int tmp;
Well, you just introduced those variables in the previous patch.
> static const struct regmap_config config = {
> .reg_bits = 8,
> .val_bits = 8,
> --
> 2.8.0.rc3
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com