diff mbox

[5/5] scsi:hosts.c Fix warning: variable 'rval' set but not used

Message ID 4C18F524.4000902@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Justin P. Mattock June 16, 2010, 4 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 6660fa9..8d98a46 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -325,7 +325,6 @@  struct Scsi_Host *scsi_host_alloc(struct 
scsi_host_template *sht, int privsize)
  {
  	struct Scsi_Host *shost;
  	gfp_t gfp_mask = GFP_KERNEL;
-	int rval;

  	if (sht->unchecked_isa_dma && privsize)