Hello.

On 4/28/2015 8:55 AM, Cao Minh Hiep wrote:

From: Hiep Cao Minh <[email protected]>

To reduce indentation and complex of code, insteeds of returning zero,

   Complexity?

the function rspi_dma_check_then_transfer should be returned

   Returning? Or perhaps just "return", without "be"?

rspi_dma_transfer directly after checking error.

Signed-off-by: Hiep Cao Minh <[email protected]>
---
  drivers/spi/spi-rspi.c | 13 +++++--------
  1 file changed, 5 insertions(+), 8 deletions(-)

[...]

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to