Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1860904imu; Tue, 6 Nov 2018 05:34:40 -0800 (PST) X-Google-Smtp-Source: AJdET5fdf8fiYsRArCdgzoptWUD92pX62x35Q351Y0afyy5VsNS2q1XGLMl93kTxjgbss9WpIQUm X-Received: by 2002:a17:902:704c:: with SMTP id h12-v6mr8456323plt.315.1541511280475; Tue, 06 Nov 2018 05:34:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541511280; cv=none; d=google.com; s=arc-20160816; b=Gy4G4S7jaEpoVD5ogXyJOO91I+bepEsNOebLLBw4jIDQ18xsFWT2aDO4iQuxanIq9A UUzUEt69mKJh5heA+hydoRM3/cu9MXWuD33EwefhW49/QeA6YYUoi5JZRXWfEnHl+Frw aG0O5MqCGYw8dEnlUiHaprrLtiXFbHtTjFUFyXRmGPb4oF9hLkmzIArwdhZ58OfLnISE H5ZH0h9OXjNlpBvEkNQ53XtPpikaz/ritDp5fE6OA/gXF6AJb8ZViPyOo+1g88Na2G+B CNGbBa6LRy9nQA8T6f8XfJOdhb95tZK6BBhQAIfOXQ9Uf9JoF215e0Q6MXxT4LB82ZDu sipw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=2I81Vy/QYABDh4xcEesSgnRV1G45mEQK0f/pFSOiyt0=; b=MDiAUC7fB7+RNOAyZrpKtCP+pnX2hgWAkq316fiDiDn/Owne0LS1yuEqXtJtPwRFeO kVUzGwnRn/2IQMtqxQIJbv69FfRtzYA+GdQchc7o4PIwokgG9T0qkeHBFkQE/34ZhKts xx6cJo6D9j38quBAw1mNJQZfgPzOlw0KtTF4rQFOoP6Gyqa8h/7ogWBtq2vnEjy8ARB7 JnxsFTzhNspW5ZrswNU39MUHvDXv/rFtD4iRxP7w1oY8NYEwYhp1A967ocU+jltRXKI4 qxh9OaZ4Iv9wJSdeTkOhuS9FchTQAAwN3g70maxvnVRgcQSc1k1zMXGGzqhJPbvKkfnC 83SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=wXFUZCho; 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 m6-v6si36369455pgh.230.2018.11.06.05.34.24; Tue, 06 Nov 2018 05:34:40 -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=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=wXFUZCho; 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 S2388414AbeKFW7D (ORCPT + 99 others); Tue, 6 Nov 2018 17:59:03 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:52303 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388399AbeKFW7D (ORCPT ); Tue, 6 Nov 2018 17:59:03 -0500 Received: by mail-it1-f194.google.com with SMTP id t190-v6so12062903itb.2 for ; Tue, 06 Nov 2018 05:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owltronix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2I81Vy/QYABDh4xcEesSgnRV1G45mEQK0f/pFSOiyt0=; b=wXFUZChoukWVTsdsKwU4Ux6xId+xMR/Ny7DTkaDuIENqe+O0iYINOXjB1myzZV3diT ikSr0iBmBedcTV6UI/ZqN1rXkBznW+2nv6R1BP6PYsRtFG+1wLd8jHy9s2Ns5/bdLPOn +g4XWTRRQ1O3sKSU7K0/NMXOYWvnaymdtKS0CmUYrCQtxwrHMZNtKxsmbfQHtB9Pgwwv 8l0pscStEUPJud8o66KHzQxJTSPYgiSmNAjRPYGvixAoIQWNTqbEvP2k7WF3jasAsJDT O5/DSMPSGMLNVjk8cv8+TWUGRszcJIi6V5XsTxzkAsYH5RHb1qPmlhuaEBbdqV9SNV1Q UMIA== 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; bh=2I81Vy/QYABDh4xcEesSgnRV1G45mEQK0f/pFSOiyt0=; b=OhBVOcvRyPq/n55IVoHtcOjWVeeg3JLMBqkueYYUFXn0OWhot0wos+Okjw7IQUzmQN 824rUYJzyZKPSPr5rE5XMbpItLwVKuzdAcgz2wucqGYbGQ71jXuInUjMrZ4VosTXkFMZ 8PdQc6JhNtTxiNBZjSJ3hXrOVEN0bhOO9Tyu4XHMJLB2rDEQIJY2ieh9YyWFI7D+eGZ7 A5zvpAhAAs5DEaw1iLu36T+wu9YSYp2MtFkWBq85oma7HqtPSWCZcoZXsUvm8IfTBLHu 0OJmNhh6CB0Des4riJAQrsJ/Rmo4PAn9f6I6XHy+QrecqnxxeAIusyPAa9b+UwiXrupW b4PQ== X-Gm-Message-State: AGRZ1gKxHs0XtnLAQeqS2K1B7O0V3ESRRpDOxAc8Qd1ImNghlAIe2STq 1GpMi6bb/tmNE0ECru5CxOFOCQ== X-Received: by 2002:a24:8784:: with SMTP id f126-v6mr1908911ite.28.1541511227530; Tue, 06 Nov 2018 05:33:47 -0800 (PST) Received: from ch-lap-hans.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id u132-v6sm897282itb.21.2018.11.06.05.33.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 05:33:47 -0800 (PST) From: Hans Holmberg To: Matias Bjorling Cc: Javier Gonzales , Sebastien Boisvert , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Holmberg Subject: [PATCH v3 5/7] lightnvm: pblk: remove unused macro Date: Tue, 6 Nov 2018 14:33:28 +0100 Message-Id: <20181106133330.26570-6-hans.ml.holmberg@owltronix.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181106133330.26570-1-hans.ml.holmberg@owltronix.com> References: <20181106133330.26570-1-hans.ml.holmberg@owltronix.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hans Holmberg ADDR_POOL_SIZE is not used anymore, so remove the define. Signed-off-by: Hans Holmberg --- drivers/lightnvm/pblk-init.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/lightnvm/pblk-init.c b/drivers/lightnvm/pblk-init.c index f083130d9920..3219f335fce9 100644 --- a/drivers/lightnvm/pblk-init.c +++ b/drivers/lightnvm/pblk-init.c @@ -207,9 +207,6 @@ static int pblk_rwb_init(struct pblk *pblk) return pblk_rb_init(&pblk->rwb, buffer_size, threshold, geo->csecs); } -/* Minimum pages needed within a lun */ -#define ADDR_POOL_SIZE 64 - static int pblk_set_addrf_12(struct pblk *pblk, struct nvm_geo *geo, struct nvm_addrf_12 *dst) { -- 2.17.1