]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] fc4 warning fix
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Jul 2005 08:07:43 +0000 (01:07 -0700)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 30 Jul 2005 14:47:53 +0000 (09:47 -0500)
drivers/fc4/fc.c: In function `fcp_scsi_dev_reset':
drivers/fc4/fc.c:933: warning: control reaches end of non-void function

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/fc4/fc.c

index 5d961f5e0ca0011121063d07734dbdbcff495a4d..e4710d1d1f9d8db1757e84965c2ccbcfcbc8f50a 100644 (file)
@@ -1004,8 +1004,8 @@ int fcp_scsi_dev_reset(Scsi_Cmnd *SCpnt)
                return FAILED;
        }
        fc->rst_pkt->eh_state = SCSI_STATE_UNUSED;
-       return SUCCESS;
 #endif
+       return SUCCESS;
 }
 
 static int __fcp_scsi_host_reset(Scsi_Cmnd *SCpnt)