From patchwork Mon Nov 5 12:26:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Holmberg X-Patchwork-Id: 10668123 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 94B831709 for ; Mon, 5 Nov 2018 12:27:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8593E294D0 for ; Mon, 5 Nov 2018 12:27:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77B64294D9; Mon, 5 Nov 2018 12:27:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75A0D294D0 for ; Mon, 5 Nov 2018 12:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728870AbeKEVqU (ORCPT ); Mon, 5 Nov 2018 16:46:20 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:35167 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729657AbeKEVqU (ORCPT ); Mon, 5 Nov 2018 16:46:20 -0500 Received: by mail-ed1-f68.google.com with SMTP id d6-v6so7323796edi.2 for ; Mon, 05 Nov 2018 04:26:49 -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=teEQfAz1c6m6rCPJfgLRxoSrnS8LNHIA5afev5lUxns=; b=LoPTsKQsAP+zS++JqKVLPkejyAxyOr3CzGAE/hrzpPdH1tTdfOqoJcqbNjTZBQ+r0j GX//652zX5wqDxlmpWgHMjdWU85TefPhXh2GZk9Mp02KjeauLpFlB0sEoItdBOoWtqFZ S+qPTV+b5EXDO2beVm6i74xjlF5zoZ15L6gbUN089hkzh416cyrukDoa4XLHpmn8FpRE HwHwj2muGaOBqPOEt58jPyHHuNTyDZdvde06t3l9oXagdapjDBdtB9AcwNRTgpZGpOMo ExRof+I0gQSQseiuLI6i3qoE5Q/TW9zhAO4NUaUs2Z8MrVR4tkSjqDLhqAzMhjoSZSiS mdwQ== 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=teEQfAz1c6m6rCPJfgLRxoSrnS8LNHIA5afev5lUxns=; b=EY8UIGTRQsqqmOX8fO86W44fraJ4neWbcEN4D+AcrDHHHDlxXO8qROwBLtOFSN2fuR jWL/ppcIzdYvMmp94lGDr3Z34fuHYna123wP3ye+9EwNM7rypvCAHcGF6jQ/YNTxnBny s8lhJEhEZy8EY2nRFMToMRDmfFqyfe9MnDdATKArDb6G0lEetg/VjiSvQuNlxJdB3Dn/ yyTQM5uVXHzqnioi/SVHrrpT8UM8wDuJeX2BMI+Q5Kr88AkCeu8JEP0VbRAA2FdPg7/d 4okNOjlUAHra/UrDgn9b6rNx5hsrDtYY76NgGmZDLArGYqRvDWB1R5clZ4WbIicFJ1Gc O4xA== X-Gm-Message-State: AGRZ1gKYF06z2Bhvp8skx462KKocOTEtFnEwuU0/I3CLuAs8BHDrUHKN 2HjnLWX/nSEYQtyTQUn7UJF+Aw== X-Google-Smtp-Source: AJdET5eJP26S1glPFZkJfBv29jmXa6CW4Svf0mHNjgIHDIOihzQb9pdgyWV3WjD9EaRA5p+7oFMqbA== X-Received: by 2002:a17:906:6411:: with SMTP id d17-v6mr13317366ejm.73.1541420808384; Mon, 05 Nov 2018 04:26:48 -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 9-v6sm7046056ejw.46.2018.11.05.04.26.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 04:26:47 -0800 (PST) From: Hans Holmberg To: Matias Bjorling Cc: Javier Gonzales , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Holmberg Subject: [PATCH v2 5/7] lightnvm: pblk: remove unused macro Date: Mon, 5 Nov 2018 13:26:08 +0100 Message-Id: <20181105122610.1555-6-hans.ml.holmberg@owltronix.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181105122610.1555-1-hans.ml.holmberg@owltronix.com> References: <20181105122610.1555-1-hans.ml.holmberg@owltronix.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 8b89bb26b0f1..33c1e83327c3 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) {