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

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


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

--
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/