From patchwork Mon Nov 5 11:41:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Holmberg X-Patchwork-Id: 10667917 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 B223E15A6 for ; Mon, 5 Nov 2018 11:42:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F38329712 for ; Mon, 5 Nov 2018 11:42:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 922782972C; Mon, 5 Nov 2018 11:42: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 422B2296F8 for ; Mon, 5 Nov 2018 11:42:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729449AbeKEVBa (ORCPT ); Mon, 5 Nov 2018 16:01:30 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:41856 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729004AbeKEVB3 (ORCPT ); Mon, 5 Nov 2018 16:01:29 -0500 Received: by mail-io1-f67.google.com with SMTP id a5-v6so6229518ioq.8 for ; Mon, 05 Nov 2018 03:42:11 -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=qmp5m3FdPiylEmUW8CNgXsb2BFd/kBJdIrvq/1re7hI=; b=LSTRXrj5POp177ymc+YCrU7HuNuRYD1E1hzkKDDAkIpXhr9DpRLmgzEDaJwFzE4SPo G/EyxzbR4DX0jmS4RdG4lN0CWpw2xoDvM26bhpaDM6ZJ4aw+1Mrn+PXluZp2VIRnWLhp 4T5NFjbKhbqcNTXs2pmDbQDAI+2TFTeUxUetTfrZAG9zNPEYr92P0hmg9jcplVURpuwO T6hlcWcHjx+NLTJLlXK8FZZGirjTKP4cvhvgJ19BoaHOs9K5XXcJFRcFg8O9Q9rAGtsI 5DBloKBh1EjqYGZueoEpKrwMsjE5ZYJxXFoxzieaZ9xgZF6kLQOk39rvZf1xYMTIuYMs WSaQ== 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=qmp5m3FdPiylEmUW8CNgXsb2BFd/kBJdIrvq/1re7hI=; b=GxMKF4vy8CMJeW7+zpeClwW0m3RoHK0jZjESOm+PC4nclAsPQPgQASYNzF7RSi1/EL uracfXx2aRMYBugpDkNvbXl6krJRAmR1EApJ9FzJZw491SSLY+5dKWG9MK1Rqcy7oGt4 P6g95I+zcXw+Zp0oPlaMVJbF6NERugunzUgWZME/QdOqU2uztLVe6DFI0kog7J167q9q 9+eGchu62eYwMMrCs7MkHtTLEZOzjQ3amVGOrESjrX/rRta3KKrGPJKHqiGV1Gm32/Th gi3wcJGMMM7PGVOnJoOul2vzHZ0gipPutvpgb19UUO96R1JMrLSZL0foBC9p0siRtTe7 Iblg== X-Gm-Message-State: AGRZ1gKWaig2KrjNe2O3KlJCXZrDZHLcRHZrfBpMC4yHOyTFjPXIOOJH Vw4/XQtMflT7AHV7uDpKgJYfNw== X-Google-Smtp-Source: AJdET5cE78AdGuslIrBDmhDhhOGchcCfDIcOnB4C9WiEo1MnnQ/9vLKSOT2B2HJPhDcVHP4ad884Aw== X-Received: by 2002:a6b:d50d:: with SMTP id m13-v6mr18515586iog.152.1541418130637; Mon, 05 Nov 2018 03:42:10 -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 186-v6sm14880824itf.11.2018.11.05.03.42.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 03:42:10 -0800 (PST) From: Hans Holmberg X-Google-Original-From: Hans Holmberg To: Matias Bjorling Cc: Javier Gonzales , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Holmberg , Hans Holmberg Subject: [PATCH 5/7] lightnvm: pblk: remove unused macro Date: Mon, 5 Nov 2018 12:41:11 +0100 Message-Id: <20181105114113.30932-6-hans.ml.holmberg@cnexlabs.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181105114113.30932-1-hans.ml.holmberg@cnexlabs.com> References: <20181105114113.30932-1-hans.ml.holmberg@cnexlabs.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 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) {