From patchwork Fri Nov 9 13:42:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 995534 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ide-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.b="GDI7IMtR"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42s1Z15swnz9s3l for ; Sat, 10 Nov 2018 00:43:05 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727995AbeKIXXq (ORCPT ); Fri, 9 Nov 2018 18:23:46 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:44228 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727735AbeKIXXp (ORCPT ); Fri, 9 Nov 2018 18:23:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=771w1rXkGKpyC+fIGjYedm8EGGbHCSu1e2wTI9lTSH8=; b=GDI7IMtR4nqqdikr+EYmZHIq05 g2OIKg7rp5U8bJI78ZF2TE9GfbUtI+1UdkYf6LdKRAqna/wSOBpQXozOFgV84WQqXewhFuyv6HCVg 6EujUGHbeXvdcmeVD4YpbZv4CitvitT1VJ3UAvUDZkUmBNIV7nbCJn0+9Jgo9TkB8kFUD6DRarBK6 1nGi0qEgbpWbxWp8mLYXjK16ava8fk6brxD6ZoaLwN/qQWJPlz2vAxu0jtPpX/nqeYFgp26rUj8dT KA5W2XhG65M1ervwe+l5IP+WSrlNDCH65SyaDGaS/cSs4R2ebRhNCSllKEH8b2V+soNu+kQAaqhmE HVjZrG1A==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gL73w-0001gQ-KZ; Fri, 09 Nov 2018 13:43:04 +0000 From: Christoph Hellwig To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCH 7/7] block: remove the BLKPREP_* values. Date: Fri, 9 Nov 2018 14:42:41 +0100 Message-Id: <20181109134241.29346-8-hch@lst.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181109134241.29346-1-hch@lst.de> References: <20181109134241.29346-1-hch@lst.de> MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Unused now. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn Reviewed-by: Bart Van Assche --- include/linux/blkdev.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 9b1f470cc784..55597948868b 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -778,16 +778,6 @@ static inline unsigned int blk_queue_depth(struct request_queue *q) return q->nr_requests; } -/* - * q->prep_rq_fn return values - */ -enum { - BLKPREP_OK, /* serve it */ - BLKPREP_KILL, /* fatal error, kill, return -EIO */ - BLKPREP_DEFER, /* leave on queue */ - BLKPREP_INVALID, /* invalid command, kill, return -EREMOTEIO */ -}; - extern unsigned long blk_max_low_pfn, blk_max_pfn; /*