lkml.org 
[lkml]   [2014]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] scsi: remove unused label
Date
commit "374f8fdea4aabec8e918cf9951e51bfa4f570ea8" has fixed a problem by
jumping to the correct label,but the previous incorrect label was not
removed and it was still there in the code unused.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
block/scsi_ioctl.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index cc7927a..1e053d9 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -517,7 +517,6 @@ int sg_scsi_ioctl(struct request_queue *q, struct gendisk *disk, fmode_t mode,

blk_execute_rq(q, disk, rq, 0);

-out:
err = rq->errors & 0xff; /* only 8 bit SCSI status */
if (err) {
if (rq->sense_len && rq->sense) {
--
1.8.1.2


\
 
 \ /
  Last update: 2014-10-23 15:01    [W:0.103 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site