[patch -next] spi: spi-xilinx: cleanup a check in xilinx_spi_txrx_bufs()

Mark Brown broonie at kernel.org
Mon Jun 10 19:28:43 EST 2013


On Sun, Jun 09, 2013 at 04:07:28PM +0300, Dan Carpenter wrote:
> '!' has higher precedence than comparisons so the original condition
> is equivalent to "if (xspi->remaining_bytes == 0)".  This makes the
> static checkers complain.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20130610/242c19ba/attachment.sig>


More information about the devicetree-discuss mailing list