Re: [PATCH] staging: android: Clean up binder_send_failed_reply

From: Dan Carpenter
Date: Mon Jul 14 2014 - 04:22:46 EST


On Sun, Jul 13, 2014 at 11:08:34AM -0300, Lucas Tanure wrote:
> Kernel coding style. Remove useless else statement after return.
>

You introduce a GCC warning.

drivers/staging/android/binder.c: In function âbinder_send_failed_replyâ:
drivers/staging/android/binder.c:1217:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/