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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: NeilBrown <neil@xxxxxxxxxx>
> Cc: Sankalp Negi <sankalpnegi2310@xxxxxxxxx>
> Cc: Chuanhong Guo <gch981213@xxxxxxxxx>
> Cc: John Crispin <john@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxx>

(compile-tested too :-)

NeilBrown

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux