drivers/net: Move && and || to end of previous line
Only files where David Miller is the primary git-signer. wireless, wimax, ixgbe, etc are not modified. Compile tested x86 allyesconfig only Not all files compiled (not x86 compatible) Added a few > 80 column lines, which I ignored. Existing checkpatch complaints ignored. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3454f83583
commit
8e95a2026f
@@ -1124,11 +1124,11 @@ static int stir421x_patch_device(struct irda_usb_cb *self)
|
||||
* The actual image starts after the "STMP" keyword
|
||||
* so forward to the firmware header tag
|
||||
*/
|
||||
for (i = 0; (fw->data[i] != STIR421X_PATCH_END_OF_HDR_TAG)
|
||||
&& (i < fw->size); i++) ;
|
||||
for (i = 0; (fw->data[i] != STIR421X_PATCH_END_OF_HDR_TAG) &&
|
||||
(i < fw->size); i++) ;
|
||||
/* here we check for the out of buffer case */
|
||||
if ((STIR421X_PATCH_END_OF_HDR_TAG == fw->data[i])
|
||||
&& (i < STIR421X_PATCH_CODE_OFFSET)) {
|
||||
if ((STIR421X_PATCH_END_OF_HDR_TAG == fw->data[i]) &&
|
||||
(i < STIR421X_PATCH_CODE_OFFSET)) {
|
||||
if (!memcmp(fw->data + i + 1, STIR421X_PATCH_STMP_TAG,
|
||||
sizeof(STIR421X_PATCH_STMP_TAG) - 1)) {
|
||||
|
||||
|
Reference in New Issue
Block a user