From: Andrew Morton Date: Wed, 27 Jul 2005 08:07:43 +0000 (-0700) Subject: [SCSI] fc4 warning fix X-Git-Tag: v2.6.13-rc6~53^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e572f7cc28a0b01b96ede3f78f448ad55c5e67ad;p=linux-2.6 [SCSI] fc4 warning fix 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 Signed-off-by: Andrew Morton Signed-off-by: James Bottomley --- diff --git a/drivers/fc4/fc.c b/drivers/fc4/fc.c index 5d961f5e0c..e4710d1d1f 100644 --- a/drivers/fc4/fc.c +++ b/drivers/fc4/fc.c @@ -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)