From patchwork Tue Nov 6 13:33:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Holmberg X-Patchwork-Id: 10670423 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 439DD175A for ; Tue, 6 Nov 2018 13:34:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 340442A3DF for ; Tue, 6 Nov 2018 13:34:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 287772A3E2; Tue, 6 Nov 2018 13:34:07 +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 B71212A3DF for ; Tue, 6 Nov 2018 13:34:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388408AbeKFW7D (ORCPT ); Tue, 6 Nov 2018 17:59:03 -0500 Received: from mail-it1-f194.google.com ([209.85.166.194]:37517 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388110AbeKFW7D (ORCPT ); Tue, 6 Nov 2018 17:59:03 -0500 Received: by mail-it1-f194.google.com with SMTP id j79-v6so5640218itb.2 for ; Tue, 06 Nov 2018 05:33:47 -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=aOdxc3j4CTCqJFNbBhRPffEDaWDTgNsfKacmtaPDRiRraqGXvl2T8qLd/XNNcrE+3s VDFr8Da8fOKYY44aV93vV7eZrBLQiVVTm/biplo/P8WCn8h8H/P6w4Gxl+6bXkiBpDnJ 6Ko/Alhhs/8hGsg7Sksln3DjKfksXxepLwhWmDwzrzITaZz7Hg4B9OdeyQ5GJ9ubgdGQ w60K2CDIsaML0F2zr3LrdIdfPIcjV2LTUVaZlParj8N8SkogCyZgXG3BLAjQ/SJM1OhF zF/XhMWfLbWSPSMHHRDGpObYsOHcI1srgkO+w197grpECPlXNSWB795/N5JQwfoyuhxe U6Xw== X-Gm-Message-State: AGRZ1gJCHTBr++BCBRIYxiGRBbhMsqsOwZWpuHisKZOoboQwqSKn6lNd rBEnS6eTJkzckQlDTeZ3ytAHTRjvT9T5Vw== X-Google-Smtp-Source: AJdET5epKgrxR673IGTnDxeQF0wui91v6e8Hslifz5IHcjXNN14pWVEofEZIJHlmQAqGci1s4+E3fQ== 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-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 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) {