Received: by 10.223.185.116 with SMTP id b49csp2009161wrg; Thu, 15 Feb 2018 05:14:34 -0800 (PST) X-Google-Smtp-Source: AH8x226gJcMCkxM3Lb0EUOKWqP71yyqhPbAHrWu6e3q6FxoS3fJh6io0YfE/erMeICmUDzZt7VId X-Received: by 10.99.67.66 with SMTP id q63mr2174103pga.175.1518700473982; Thu, 15 Feb 2018 05:14:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518700473; cv=none; d=google.com; s=arc-20160816; b=puU7pf9sefri0bJNerY6bxTiSJ4+KfqFJkIGk8pEbEHofsgKrsveLI9KOvrpu4ztIX 6by44z6h9CR1zbVoj0uqynuZtEJ0G8AfB6pgBY0cOsUQvLHI3aXq98xiYbL4iVDwteSC sJsRqYvyDohnGt/hT3B9Jk8hUtv2XR8nVWYZM/ZKnc9fwHcIrJAxCclN+pSVKrlM1wK6 2v1EaaV9SrpbETmWyfXc67tkiLoT7Gd2jacQAuQ+NFEsKpXBLgH1aDs8SauMVioNWIdy 2RscwKIj0XIRH7RFlAXNFOi9CFYFufcdtWaTKHYQwYPgQ8RNGSy0g8Vn2APIii5tIeYk 02vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=GvQcUyYAySia5WKgCu5qSgRUs3UOkNfzA9cMvAuCEkw=; b=nxVn4hxWzkaUO5O0ZpmH3bkqEuF4672g/HP46CK43so68eB2DoDgFoG875XnoEk/Wf jwQIAS3+eV/yCapeWOQ3a3tDobVITkwpizPgcx2jW+jq5S+w28Gfvg4VsbOFq3UeYyDL aD51XyxfTjp1gEktBVJlwf04Rvwdb86xD+IGxvkFULd7s9WOAULm/LimQR4hDgpQ1WTm grLXUxqhlWpRX/ip+rczRFwdVvlFDy1Wk+T7EZ9LR8PBX5pYI9b8DtYpz7tpVNyIgIv+ 6zB73KBlMwcaB7ONSZR/2sjneX14e/j2wRuaiCeZRzSBMDFOlWeW14N6bkxvHsCl4LID mB3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=Tr/odZsT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34-v6si2754466plc.368.2018.02.15.05.14.19; Thu, 15 Feb 2018 05:14:33 -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=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=Tr/odZsT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032362AbeBONMe (ORCPT + 99 others); Thu, 15 Feb 2018 08:12:34 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:38901 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031929AbeBONMY (ORCPT ); Thu, 15 Feb 2018 08:12:24 -0500 Received: by mail-lf0-f67.google.com with SMTP id g72so33969297lfg.5 for ; Thu, 15 Feb 2018 05:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GvQcUyYAySia5WKgCu5qSgRUs3UOkNfzA9cMvAuCEkw=; b=Tr/odZsTR2E0FNfUZ35oRwlTuhIIN7IhMulaRcynq3F8pwNA8zaY7R5pvcCVOIlPqg kcbf+1sKPno0b/7GLe7ZYZDQ03BQJpfIiz6mGQVU++GIQd1ArXHKyB+UpW3RcMogTtRW Q6kSqSP1hsjtTKJS9a6fWAdLdBhSlCkyhMk9F9qkK9JLtXMQvNlTdhFQHJs707s2knjV 3GiSscoWxp6HwHn8rLERgXc1olG1HH6/ZRoU9mmc1XgkVAZ/8QyYqlRTYD6rC7O5fi+X hIh+1bEfRikdg1hYBfj766bRkQ3vTz+T9xMsJWQ+MPq6iM0FrL6uG9jC23O3Ogs+EOhq Y0hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GvQcUyYAySia5WKgCu5qSgRUs3UOkNfzA9cMvAuCEkw=; b=GDgBWOi6aOrkwMcsr8hlg2sBMydlWuNufvpiZ5IAWyvETSt80OlMiDsEZL4SAic1Ra kVIWy2ZgAXbpLlNuZbO+SmMhFd8T5yEnjoHIwE/eG5PTfSj+aXoZW5phSgn0RZZOiu4b bqKLox2Rz3Jcw3giQpsfCGI4XUuuEUl3msJ7+svW5UKMfyjj+bYgKhs9WbO5FOxpZRMb P6Z21auDWxE2H4bYZf2EdyBwxXCLuGmxfFsZ1oHSFHKKzr0CUQmIesWXPHpr/tcFD37o ltQ3Z03FFC+1MDzO9Eeey2kIGUNFyI5m2Zg8Klf/bDSkEZC6hlAp8r80+6GK1XX9X7RG z96g== X-Gm-Message-State: APf1xPCj8WkJ6IHeccC7O7WmUDy2V43Aul375MRVYC/eVwBn+zBTLrQm 7jEZE75PYVSpKMmjuQ+4TPTwHA== X-Received: by 10.25.154.205 with SMTP id c196mr1756595lfe.52.1518700342796; Thu, 15 Feb 2018 05:12:22 -0800 (PST) Received: from Macroninja.cnexlabs.com (x1-6-a4-08-f5-18-3c-3a.cpe.webspeed.dk. [188.176.29.198]) by smtp.gmail.com with ESMTPSA id s7sm449295lfg.13.2018.02.15.05.12.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 05:12:21 -0800 (PST) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: linux-block@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, javier@cnexlabs.com, =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [PATCH v2 4/6] lightnvm: remove max_rq_size Date: Thu, 15 Feb 2018 14:11:58 +0100 Message-Id: <20180215131200.3354-5-mb@lightnvm.io> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180215131200.3354-1-mb@lightnvm.io> References: <20180215131200.3354-1-mb@lightnvm.io> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The field is no longer used. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 1 - include/linux/lightnvm.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 9b1255b3e05e..511c81c319ee 100644 --- a/drivers/lightnvm/core.c +++ b/drivers/lightnvm/core.c @@ -874,7 +874,6 @@ static int nvm_core_init(struct nvm_dev *dev) geo->sec_size = id->csecs; geo->oob_size = id->sos; geo->mccap = id->mccap; - geo->max_rq_size = dev->ops->max_phys_sect * geo->sec_size; geo->sec_per_chk = id->clba; geo->sec_per_lun = geo->sec_per_chk * geo->nr_chks; diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index b717c000b712..67b4fa8e4906 100644 --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -295,8 +295,6 @@ struct nvm_geo { int ws_seq; int ws_per_chk; - int max_rq_size; - int op; struct nvm_addr_format ppaf; -- 2.11.0