diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-07-11 12:54:55 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-14 19:13:13 -0500 |
commit | 6d877688ef411313c94aa3c83c7473fbec6db32c (patch) | |
tree | 22ff6c12e524fd401d8405192befa8fa2c90a57b /drivers/scsi/scsi_lib_dma.c | |
parent | 0cba35e42ce58a5b20319f9f57f9aa4ce37daf76 (diff) |
[SCSI] Clean up scsi_add_lun a bit
This patch tidies up scsi_add_lun a bit. I rewrote the kerneldoc to match
the actual parameters, moved the check for RBC and MMC REPORT_LUN devices
away from the switch(), changed the setup of sdev->type to account for
BLIST_ISROM, moved the check for BLIST_NO_ULD_ATTACH further down in
the function, removed a bogus comment and fixed some whitespace issues.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_lib_dma.c')
0 files changed, 0 insertions, 0 deletions