Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp496977imu; Mon, 5 Nov 2018 04:27:55 -0800 (PST) X-Google-Smtp-Source: AJdET5fK8N7QDw+eWDZCVH7KeKlnlLVzZUuXOlozdtoKVV9iBSMA4gaQmQU5dZBx133rmVsGuzBM X-Received: by 2002:a63:ec4b:: with SMTP id r11mr18629497pgj.44.1541420875823; Mon, 05 Nov 2018 04:27:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541420875; cv=none; d=google.com; s=arc-20160816; b=xrePPHk9MeS+WmtZZrnA71qDOcl+fx+ru3H53AdEbnO4/umxgyTFAEOYZfvDB8wtJ/ g2YTH6UDxhTVLnzxHRPsfxPRmfrOX53ieC4G3PuQgHDp9602fYX3r0jQHax4Ns1hvj4k yGJJJMU3yQ1xq9PKKylDZQZ90tkOEM6Bkr29B0/IvOwc2cGzpjcxVwtdg7WgZ0gijqeu yLTIxUvttgppcCjNtON3kkTvG+zXK3W4NK86JErCgBpGwf84GXzQ60CHStMRvVZsIi4O uFnZl822iImfwCS53oWxac3/ul1SrJHz1L1QX8VwovckuKFKH70jzva5KEu34fY6+zza ENkA== 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=teEQfAz1c6m6rCPJfgLRxoSrnS8LNHIA5afev5lUxns=; b=UVNZqNIhNJld7e1PNF+BdI0ZZAGqiiWorW3JytKPDrdsimc2KZlTcoYkpA7Rr2Lt5q IyZPXaMf6+Bsp/JwkXaehuZfO2Rua/PuU5ZXH6joil+bpS5SqrPTsafGVX7llpv5KhZD xJQ86ot5a69OldUcZa2KkS4Zv5V0wyVcimnVUaEc4m0iGoqyEfIuWrTiY+97npzO3g4Y GUF1ccFExPa6ayLtmbLY1xFy8SWDPYmSNZyTRXqFiS0BG3thdLYzd5mnJc7vkBM1MDI+ f5zOq1yiUH/+HndL2CWhTgbDMWPJYBmD+DLS7rmzBkSnVCrfxffhJg9vPtjB1MrcevsE NPsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@owltronix-com.20150623.gappssmtp.com header.s=20150623 header.b=LoPTsKQs; 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 x23si11976305pgk.272.2018.11.05.04.27.38; Mon, 05 Nov 2018 04:27:55 -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=LoPTsKQs; 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 S1729730AbeKEVqU (ORCPT + 99 others); Mon, 5 Nov 2018 16:46:20 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:46256 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729656AbeKEVqU (ORCPT ); Mon, 5 Nov 2018 16:46:20 -0500 Received: by mail-ed1-f68.google.com with SMTP id f8-v6so7263951edt.13 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=KMVVRZMAy/T9mBFHE+fop9NqMJxn90vE+fHcR4FNPjwnJUCtJDZbG3G5Xwaezq4Ino oGRwqwyOeFQHljT6AOVAgCczwYi6aeHqUary/HhXQfMobWN5DKB4Gltw2ZFbkCtlo4oD We3b/gYL6FMJi9LO2aRyuyjmQ6IuH0qt+gwz4KD/xnWx2NiioZemvvgzs5vsNrn+fL45 PjIi/ZDbmhSk7hQpPktLi5mR43/8CaTe4Pxr3oB7Yt5D3uQ4udGiQvayL4VTzw6Wxffu hi8WzyX+lrjD10dWAzTlzOKtZrdVkpFwck0cJyPQ2uw3PjJXhFJUsqnhbXa2Hd7l3BI2 gSOw== X-Gm-Message-State: AGRZ1gIvjBERSg7HMZcFoE2C8aOHeif78DL0+0tBaNTGPkS0NCtDAvLE 2JWDXQU8dEtlk0MwCPnGGVttOw== 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-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 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