[PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

Dan Carpenter dan.carpenter at oracle.com
Mon Jul 14 08:43:59 UTC 2014


On Sun, Jul 13, 2014 at 08:25:13PM -0300, Lucas Tanure wrote:
> Kernel coding style. Remove useless else statement after return.
> Changes from v1 and v2: Fix warning for mixed declarations and code.
> Declaration of "struct binder_transaction *next" made outside of while,
> and initialized with NULL. 

Don't initialize it at all.  It just disables GCC's builtin warning
for using unitialized variables.

regards,
dan carpenter



More information about the devel mailing list