From patchwork Fri Oct 13 12:46:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Matias_Bj=C3=B8rling?= X-Patchwork-Id: 10004457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7ECCD60216 for ; Fri, 13 Oct 2017 12:47:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 706A628FD4 for ; Fri, 13 Oct 2017 12:47:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6571729057; Fri, 13 Oct 2017 12:47:50 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 EE1BE28FD4 for ; Fri, 13 Oct 2017 12:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758317AbdJMMrs (ORCPT ); Fri, 13 Oct 2017 08:47:48 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:47021 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932078AbdJMMrq (ORCPT ); Fri, 13 Oct 2017 08:47:46 -0400 Received: by mail-wm0-f68.google.com with SMTP id m72so21267047wmc.1 for ; Fri, 13 Oct 2017 05:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bjorling.me; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lw7KoyllQpT6Ej5ea3CSIiH7XL3Sh3t/bz7lzUz8Xe4=; b=RaV1lsiQL8zTztP8sknaXrzdgH6ssApo81FFIdFWnkJioqkQIkeNAy5TQLc2bKXjXh SaPHVMGGm+7VxWSWdTEtu9oKuZidK4XTvfaBa56X1FupgzUIhrykVpBHKfwHiynM4G9a OaLC3ufIAQBOQ44zWul7GbQl5qPFCKOycIzAs= 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:mime-version:content-transfer-encoding; bh=lw7KoyllQpT6Ej5ea3CSIiH7XL3Sh3t/bz7lzUz8Xe4=; b=UfZ3Vm8wdMu6NSYPZGmcz0wgh9IPRR370C7ObO/z+ssIg96myqZzXFKHMMo+MwwQkM +ypQqxyZEccc2IKKdShEC5uO3r7ttBKlcGdxyf1o6/piZ2eONDtXz7oUDSs9PGF0Aa37 v1/cDBwVeqoHSInLdxdFh0+LDbiorZd6jRamcVsMIKCvZBBecXAYHUWqtnQCFYso2X7c k0hVBxzbNO3H0Qqen/AaWrj3r4aatZOITb63jMTRRQIj/aCsw/+HVyG5WrllleJKcALX LQm4FqtDbzuQRRJF4l6wrSXlkJN9B7aQk/PLaUB/5vExgImGC4etfyMS+2Wap84UbMLv IWlw== X-Gm-Message-State: AMCzsaVC7GHK6kin4cabJwawYBQpzYbYGAVzK3qBcL+P/NYv851q88Xh yBVrJOGuuvJ88bX39l/6nc0fJg== X-Google-Smtp-Source: AOwi7QBxIRrBUbn/ogZ6+sKheN0eiT38HZQazcPcwrMVvNOapduchViNynz08d7nqxl/COBxQV3zBg== X-Received: by 10.80.244.189 with SMTP id s58mr544722edm.234.1507898865274; Fri, 13 Oct 2017 05:47:45 -0700 (PDT) Received: from skyninja.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id p91sm735012edp.69.2017.10.13.05.47.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 05:47:44 -0700 (PDT) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: axboe@fb.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Rakesh Pandit , =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [GIT PULL 40/58] lightnvm: pblk: remove useless line Date: Fri, 13 Oct 2017 14:46:29 +0200 Message-Id: <20171013124647.32668-41-m@bjorling.me> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20171013124647.32668-1-m@bjorling.me> References: <20171013124647.32668-1-m@bjorling.me> MIME-Version: 1.0 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: Rakesh Pandit Signed-off-by: Rakesh Pandit Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/lightnvm/pblk-core.c b/drivers/lightnvm/pblk-core.c index e38e918..43866ad 100644 --- a/drivers/lightnvm/pblk-core.c +++ b/drivers/lightnvm/pblk-core.c @@ -1071,7 +1071,6 @@ static int pblk_line_init_bb(struct pblk *pblk, struct pblk_line *line, /* Mark emeta metadata sectors as bad sectors. We need to consider bad * blocks to make sure that there are enough sectors to store emeta */ - bit = lm->sec_per_line; off = lm->sec_per_line - lm->emeta_sec[0]; bitmap_set(line->invalid_bitmap, off, lm->emeta_sec[0]); while (nr_bb) {