[PATCH 9/9 v3] staging: spi: mt7621: Remove superfluous pre-declaration of struct mt7621_spi

NeilBrown neil at brown.name
Sun Feb 3 22:42:07 UTC 2019


On Fri, Feb 01 2019, Stefan Roese wrote:

> This patch removes the superfluous pre-declaration of struct mt7621_spi.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: NeilBrown <neil at brown.name>
> Cc: Sankalp Negi <sankalpnegi2310 at gmail.com>
> Cc: Chuanhong Guo <gch981213 at gmail.com>
> Cc: John Crispin <john at phrozen.org>
> ---
> v3:
> - New patch, changes spilt into separate patches
>
>  drivers/staging/mt7621-spi/spi-mt7621.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi-mt7621.c
> index d6385220b796..167d0f09823b 100644
> --- a/drivers/staging/mt7621-spi/spi-mt7621.c
> +++ b/drivers/staging/mt7621-spi/spi-mt7621.c
> @@ -51,8 +51,6 @@
>  #define MT7621_CPOL		BIT(4)
>  #define MT7621_LSB_FIRST	BIT(3)
>  
> -struct mt7621_spi;
> -
>  struct mt7621_spi {
>  	struct spi_master	*master;
>  	void __iomem		*base;
> -- 
> 2.20.1

Thanks,
this and all previous patches in the series
  Review-by: NeilBrown <neil at brown.name>

(compile-tested too :-)

NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20190204/ed85aa78/attachment.asc>


More information about the devel mailing list