Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1221083imj; Sun, 17 Feb 2019 00:33:05 -0800 (PST) X-Google-Smtp-Source: AHgI3Iauhuw+pu3AjH4st0Raf01dSF4EhrNpAumDn32Z1cq/0gMAtJfwPF3k9jlH1oMNrBQZ/X7M X-Received: by 2002:a63:2013:: with SMTP id g19mr13311472pgg.451.1550392385859; Sun, 17 Feb 2019 00:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550392385; cv=none; d=google.com; s=arc-20160816; b=BA2sGsgkCiWi6+aPLFQ75LA6RrQUz31SRI7SErqZgDAzuGfYHIf5kvjgpaXyY9tqxT S76m4abUHS556GZ+LemMrCu54ilLfl5y9Izg9BJMrh+HiwwKqGWyvytD5S66AT6xMgi4 os1muiN8vUX+spbI1C46E4pW/kvGA9UpRo7SjL5X6101ME8rthNZou4ZJTomIULvWVXC kWlo9bn40EbRdbQnt60fOBaamS2xaCc0Zb9JG4D+yufmdd8eJ8ogwaZpcKeLVBR6Fa5c Lbo4TJzUA+IhbpgmbKe40QZayfsR7bEanjFqhIKQG0cL1hPKxR4SLCLlZLVg2mVcJfca KaNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=5A6rgptOsdEF63CTk86XwfKug5HwpbeM9xBK7Bbn+dM=; b=wSZwvkKlnlbjyoU4mfWE1ixKN6BHtVZ434va+6cFwgDwHuVN1GJgrzaQq1W9aKRyUq GTqRFoent+DILlL0gBkhqwC3YxpSZu1IEJDEmkCjnXUFeFDXJ6W/vmHEiVvywVB/hJRN pgJsOXUi2x1rg2KWu8VeQ3aWHloYSXYaDUSF/bxM6p1ZC6ZZi734jG5IBwmypbMJ5k5M 4ZKrmcIr9XhRBQFODA1TOO5Uy9X6foSWhcFUTABuHRTPfjqZZKL+9Pt2ka0xwhIetfhT IOzlPGkWMAcYhLeb6GLxWgJFhlojCu+8l4cKMoNT87YcP1uJiO77K1KPorF/myCJNNZx VvRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=WSsSrzBU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si1519940plt.280.2019.02.17.00.32.49; Sun, 17 Feb 2019 00:33:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=WSsSrzBU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbfBQGbJ (ORCPT + 99 others); Sun, 17 Feb 2019 01:31:09 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:8816 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfBQGbJ (ORCPT ); Sun, 17 Feb 2019 01:31:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1550385069; x=1581921069; h=from:to:cc:subject:date:message-id; bh=JlBezc6VJE54/kAaxIEKF4AAqszBKCXftftZoQ/ZPQg=; b=WSsSrzBUdmwr93oxcWNWrv3D3J1y/tocEydn/UG1OG5IDRvRepTlGvUo weOu4Jc/pz1q2uhqIyXlgGz0MDjCBSr/+pmFrUCBtOPZ4EGUcPC6am62P XbdnBYHEyEiiFLi60c7+eYkivm6gNnoQD30YIBHiZquYC9Cm+zy0+IYJt RC42zQhisrtAkkKsZZ7lYFEiq+9tSmLSpwsIDBh2+tNbO3L/OS24742oz CfXJJt0ERipXJS3OYnRV0gdJ2zy8aiHP/nDRS9p6C1YCTVu41ruLWzV4t k6VAYbIpwbgB72DxAppj/9BmB5YneknOlGOEQwYMHrpbm1ufXV7bTx+RD g==; X-IronPort-AV: E=Sophos;i="5.58,379,1544457600"; d="scan'208";a="206654174" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 17 Feb 2019 14:30:50 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 16 Feb 2019 22:11:19 -0800 Received: from kfae422988.sdcorp.global.sandisk.com ([10.0.230.227]) by uls-op-cesaip02.wdc.com with ESMTP; 16 Feb 2019 22:30:48 -0800 From: Avri Altman To: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Avi Shchislowski , Alex Lemberg , Avri Altman Subject: [PATCH] scsi: clean obsolete return values of eh_timed_out Date: Sun, 17 Feb 2019 08:30:27 +0200 Message-Id: <1550385027-6217-1-git-send-email-avri.altman@wdc.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those are no longer in use since commit 242f9dcb8ba6 ("block: unify request timeout handling"). Signed-off-by: Avri Altman --- include/scsi/scsi_host.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 4047d68..dbbdfbd 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -300,11 +300,7 @@ struct scsi_host_template { /* * This is an optional routine that allows the transport to become * involved when a scsi io timer fires. The return value tells the - * timer routine how to finish the io timeout handling: - * EH_HANDLED: I fixed the error, please complete the command - * EH_RESET_TIMER: I need more time, reset the timer and - * begin counting again - * EH_DONE: Begin normal error recovery + * timer routine how to finish the io timeout handling. * * Status: OPTIONAL */ -- 1.9.1