• Christoph Hellwig's avatar
    [PATCH] SCSI cdrom cleanup · dbdb2c5a
    Christoph Hellwig authored
    This is one of the very early steps on cleaning up the SCSI cdrom
    driver.  It gets rid of directly accessing the scsi_CDs array in favour
    of using the handle we get from the generic cdrom layer.  Also uses
    local vars instead of many grouped scsi_CDs accesses in other places.
    
    The gain is to get rid of the global, static array of CDROMS
    in the end.
    dbdb2c5a
sr.c 22.1 KB