From 375443a442d4c82261914debaf2e330777e4141c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 5 Jun 2014 06:46:57 +0000 Subject: [PATCH] scst_vdisk: Fix a kernel version < 2.6.38 compiler warning git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5569 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index 049f604e3..8746bd580 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -2992,13 +2992,11 @@ static int vdisk_unmap_file_range(struct scst_cmd *cmd, scst_set_cmd_error(cmd, SCST_LOAD_SENSE(scst_sense_write_error)); res = -EIO; - goto out; } #else res = 0; #endif -out: TRACE_EXIT_RES(res); return res; }