diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2007-02-07 18:18:37 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-07 18:18:37 +0100 |
commit | 272103144ac1ff937ed22917e1de05da4d6943dd (patch) | |
tree | b098235b3d20d408fe949ff29b032e056e149fe2 /drivers/ide/Kconfig | |
parent | 24e6458d9c0c445141488b70e1a01fa31ed86c8d (diff) |
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/ide/Kconfig')
0 files changed, 0 insertions, 0 deletions