summaryrefslogtreecommitdiffstats
path: root/drivers/block/pktcdvd.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2007-02-07 18:18:37 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-02-07 18:18:37 +0100
commit272103144ac1ff937ed22917e1de05da4d6943dd (patch)
treeb098235b3d20d408fe949ff29b032e056e149fe2 /drivers/block/pktcdvd.c
parent24e6458d9c0c445141488b70e1a01fa31ed86c8d (diff)
downloadop-kernel-dev-272103144ac1ff937ed22917e1de05da4d6943dd.zip
op-kernel-dev-272103144ac1ff937ed22917e1de05da4d6943dd.tar.gz
pdc202xx_new: remove useless code
Remove the following useless fragments from the driver: - the ide_dma_lostirq() and ide_dma_timeout() handlers which boil down to just printing the incoherent reset message and calling their default counterparts; - check for non-NULL drive->id in the ide_dma_check() handler -- this is assumed to be true by all other handlers (also, get rid of unnecessary nesting of the conditional statements there); - the comment before pdcnew_tune_drive() which has nothing to do with the code. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/block/pktcdvd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud