mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
drivers/block/floppy.c: move leading && and || to preceding line
Signed-off-by: Joe Perches <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Marcin Slusarz <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
74f63f469e
commit
c529730a98
1 changed files with 4 additions and 4 deletions
|
|
@ -639,8 +639,8 @@ static const char *timeout_message;
|
|||
static void is_alive(const char *message)
|
||||
{
|
||||
/* this routine checks whether the floppy driver is "alive" */
|
||||
if (test_bit(0, &fdc_busy) && command_status < 2
|
||||
&& !timer_pending(&fd_timeout)) {
|
||||
if (test_bit(0, &fdc_busy) && command_status < 2 &&
|
||||
!timer_pending(&fd_timeout)) {
|
||||
DPRINT("timeout handler died: %s\n", message);
|
||||
}
|
||||
}
|
||||
|
|
@ -1769,8 +1769,8 @@ irqreturn_t floppy_interrupt(int irq, void *dev_id)
|
|||
if (do_print)
|
||||
print_result("sensei", inr);
|
||||
max_sensei--;
|
||||
} while ((ST0 & 0x83) != UNIT(current_drive) && inr == 2
|
||||
&& max_sensei);
|
||||
} while ((ST0 & 0x83) != UNIT(current_drive) &&
|
||||
inr == 2 && max_sensei);
|
||||
}
|
||||
if (!handler) {
|
||||
FDCS->reset = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue