Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp452701imu; Mon, 5 Nov 2018 03:43:12 -0800 (PST) X-Google-Smtp-Source: AJdET5fyHA3HUggJPbVr2FJAxW40flDWiyN62Yk6VymW7yi6k/v+0XueH8GOG2S7f/7b7ANzJlCa X-Received: by 2002:a63:db02:: with SMTP id e2mr10199025pgg.419.1541418192167; Mon, 05 Nov 2018 03:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541418192; cv=none; d=google.com; s=arc-20160816; b=Gv4QXUSvlCEep0pUQjhWdzvsNhHdJ7WNqxGyPSnvNsyVhubWp4o2H2hi9QG226OuwN du6T5DNkZHBQPnC+dstTwNnb6xOqm26NeM2Gt5K9l07txbqUq8ion67eYB+fCvSSCHaE vqvQXOmaVC193aCbuJ+c9dOyDQDBXGMptPN0WCqIr8IXCu5xxtuZo678azzQk7zcypUt PKgD494i6dOHQIKIluezCZCuUESjZEETLF3n1VTSXd9sUgGsM694VvMnFFQc4pgr40E8 4GzDfmR5qrHl7IeXJO0fwWyMDzMwxGgrOeEk1IkIwKE28myM+GedXkO2Uqcy4D6o0Y3e 2GnA== 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=qmp5m3FdPiylEmUW8CNgXsb2BFd/kBJdIrvq/1re7hI=; b=sYVJ8YjuseXJhRRVKcT9mxFMoanxGoUNbXVWPZFg400iWPmhWJzahnkZaBGRoFvokq avUjhhvHnHZqiW8kDTTNmP6fQqGUKz9RVwUkm6eXHewX6jjDJjh4qmXF90aPu6Q60DwD FdxkKHiw/JERwD8QThBvTtBUuzCuZDu1vfc3OpcZ9FBBUJTw3x1H7c1mwChAE7iuVK18 LkCLoTFzFkKZhQdDrwiokAFh/OAyebZmdy7Y9DjWA4x18eL/q3KeOAmf9pTnMg1Id298 mB8sjX5jKASPwRdZuEPi2DFe5K5vlQDP4RGnE2S4383omkNuJvVOToF37kH4Q6VUWLj5 6rjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=LSTRXrj5; 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 3-v6si31750775pll.361.2018.11.05.03.42.57; Mon, 05 Nov 2018 03:43:12 -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=LSTRXrj5; 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 S1729477AbeKEVBb (ORCPT + 99 others); Mon, 5 Nov 2018 16:01:31 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:35330 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729447AbeKEVBa (ORCPT ); Mon, 5 Nov 2018 16:01:30 -0500 Received: by mail-io1-f66.google.com with SMTP id 79-v6so6245159iou.2 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=mKDHwXKMSzdu5FT6fWuNlZtqqn3lCjJO53B/OkqLB6n4EwkBCDFuGQsGbQy9nIiqIp QnEQcIXEA1T/hBu0YIkJfQT4wcMnG1hgnL5hiAnJqKzlvo9zwNlOTPDRN2HsOh7yOUpu YULqzKWEF3aHHnYxQ8bfLCNUYV14vEkjgq/29i9xGfZOdBcW00Bi+PgtXT6ceW7z4zhI 9AEkBRoO0L1Zji1CrenTbqGBU/HUcbSSeZPc4YVMM2oTAjjwIMICN+mNTXaewhZZntf9 OdXERXBsgvFiLAeXoqhk421dbNpXgwwJgxvLwPN+UPY48EnV5qIARv6fnFA2ft/OTjjC ggAA== X-Gm-Message-State: AGRZ1gI99zu828tZSLhZkPXMHhl7uDgquRnzp0XhmwcIVb5b6FkBGM1Z DeqHF2djT+vNAxx17fXDm/LFew== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) { -- 2.17.1