]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] sr: remove dead code
authorJayachandran C <jchandra@digeo.com>
Wed, 19 Oct 2005 00:11:16 +0000 (17:11 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 28 Oct 2005 22:42:31 +0000 (17:42 -0500)
commit80d904c43b11105c16395b240078ccc2f7ac6074
tree91e0a42a0ce1b9b52691a11e01205467063f4882
parent4647722673994787bfa294a163fcb6955b93d417
[SCSI] sr: remove dead code

This patch fixes an issue reported in drivers/scsi/sr.c by Coverity

Error reported: Pointer returned from "scsi_cd" is never used

Patch description:
 Remove the scsi_cd() call as it does not have any effect.

Signed-off-by: Jayachandran C. <c.jayachandran@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sr.c