Skip to content
  • Sergei Shtylyov's avatar
    pdc202xx_new: remove useless code · 27210314
    Sergei Shtylyov authored
    
    
    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: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    27210314