diff options
| author | 2010-06-18 13:16:07 -0700 | |
|---|---|---|
| committer | 2010-07-27 12:03:51 -0500 | |
| commit | e4bf25fbcc64a87d7dc1d3318ca56c28382757e2 (patch) | |
| tree | c3289ca3c478157678c6cceed0ec05581c79e087 /tools/perf/scripts/python | |
| parent | [SCSI] Log msg when getting Unit Attention (diff) | |
[SCSI] scsi:hosts.c Fix warning: variable 'rval' set but not used
The below patch fixes a warning message generated by gcc 4.6.0
CC drivers/scsi/hosts.o
drivers/scsi/hosts.c: In function 'scsi_host_alloc':
drivers/scsi/hosts.c:328:6: warning: variable 'rval' set but not used
Fix this by removing the rval but placing a printk warning where it
would have been set.
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
