]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/scsi_logging.h
[SCSI] scsi_scan.c: fix compile warnings
authorakpm@osdl.org <akpm@osdl.org>
Sat, 15 Apr 2006 07:30:24 +0000 (00:30 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 15 Apr 2006 14:04:40 +0000 (09:04 -0500)
commitc5f2e6404c65e8380c9ba80a7d58a27d2642743b
treea8af59f4cd7154032ac35486586babe73467b3c9
parentcdb8c2a6d848deb9eeefffff42974478fbb51b8c
[SCSI] scsi_scan.c: fix compile warnings

drivers/scsi/scsi_scan.c: In function `scsi_probe_and_add_lun':
drivers/scsi/scsi_scan.c:926: warning: unused variable `vend'
drivers/scsi/scsi_scan.c:926: warning: unused variable `mod'
drivers/scsi/scsi_scan.c: At top level:
drivers/scsi/scsi_scan.c:829: warning: `scsi_inq_str' defined but not used

Fix those, tighten up the (somewhat poorly-designed) logging macro and fix
some coding-style warts.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_logging.h
drivers/scsi/scsi_scan.c