]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-floppy: remove unused flag PC_ABORT
authorBorislav Petkov <bbpetkov@yahoo.de>
Sat, 2 Feb 2008 18:56:37 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:37 +0000 (19:56 +0100)
commit757ced8983a0b8d1bb353128605cec0f7a6f633e
tree399671ccc4ffe28e863b5feb873034a4cf32ca35
parentf373bd820dd80ae079537afb9db511b8802bb9f7
ide-floppy: remove unused flag PC_ABORT

This flag was never being set in the code so remove it. By the way, the
code in the second patch was being executed unconditionally, i.e. in case
pc->retries > IDEFLOPPY_MAX_PC_RETRIES is true (actually that is the only case
when the outer if-test passed), !test_bit(PC_ABORT, &pc->flags)
was always true so the comment is now incorrect and has to go.

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c