Received: by 10.192.165.148 with SMTP id m20csp3554540imm; Mon, 30 Apr 2018 02:12:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqAJFOyGwcx7gh5rxDE2LSwj/JaJJsckpL8RjhHnoUXyDLyrRUJUpJRIXA91Eys8UdgN3Op X-Received: by 2002:a17:902:688e:: with SMTP id i14-v6mr11747354plk.391.1525079536805; Mon, 30 Apr 2018 02:12:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525079536; cv=none; d=google.com; s=arc-20160816; b=iW82yZfnok9L1WvDVDwlnEflsR2FyC3I/YuxZNxPN+M0t7wXuRFhpIqx0xRWXldvZF JSwvpX405NlCig9k61Zc6d3ntTH5O8eDTpiLyfvgeFbFGbTnEy3aeyB52SB1Vg4UHgBM gobA7IYv/XUWcIyKRWhohM4cCW+f+0IadgWThu/KzZue+M7/tES44WVZ95sVHzWlUEgF 08ndpDPSgFQdvKfTRrp1/1eA0b1Q8u8LZMBeLNcBocnpEXdvKF+NBKhUXcsuv9RmziIV V08/RbU8SGayUgOr9u8RX1GPbibBPScHrAPaj1O8ZMR3nSsFVwFTbI9G1d4qCs+R3hSh 6+jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Gpm/bvyzDHckYYqBTqapfimvQq3Ym6oqnJdL+0Skd6w=; b=HiD2+e2SIDXmhKD5Lh242fT4A+qJ0pVUJhX1rcQtXRsRnwtzhMks/TgCFsEKrSByHE xTkvWvhLiyF+/xbzByfoSlj3BN+XVO4SorXVEahsElGBJcScbsmuhTFMuqv1Alh9bxin SB8/fQKcjpqj+8mN3g+SIIg+BRYg6c/yROMiSiMPekQNjuepFxsOVsXHPGL0jPFJj9qk GdMKLeiKtrzQFLJKZd7phftanaEM7m6BZg4Y4WAHUdPM0Qf9yBsUujhAPxV1vomt/jEI 9TUpRpkspQCGCV1MV7ftNDBDbB5O5nQbWWX+oxjRkT05lVl4/F++Db2HkMAVdtsaXvLK d2KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=mLFudXVw; 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 n6-v6si7104050pla.12.2018.04.30.02.12.02; Mon, 30 Apr 2018 02:12:16 -0700 (PDT) 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=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=mLFudXVw; 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 S1753399AbeD3JLU (ORCPT + 99 others); Mon, 30 Apr 2018 05:11:20 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:37291 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751529AbeD3JK1 (ORCPT ); Mon, 30 Apr 2018 05:10:27 -0400 Received: by mail-wm0-f65.google.com with SMTP id l1so13089196wmb.2 for ; Mon, 30 Apr 2018 02:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=javigon-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Gpm/bvyzDHckYYqBTqapfimvQq3Ym6oqnJdL+0Skd6w=; b=mLFudXVwb7LJHZf+rAfrJj7vYvkdPjmTadQs18ce5lxELIVl1hisLhYRTfDMvgCGe6 PdHZ+0Pg1ogxJotIxmF8W5xXwQebaO8Ja9uRZ6dKFE8P0L64aV61a1qPa+bZ5dhgLr1P X82ncRP4/aiEiSeLUPt9aPoKR/yYn5ALZAQalN7JpUKuOs8rD74zQ7AoVO92BDfXWc1L r4X2lBhlJVfYwTYP0zxlyIw8LHNvihe2QZryAky5InGvfhgyRJ2t1g2UKn0rQUSSBvau J2g0qxgSfOMM0ZeaVhzJJNADr8skjPxfci2ATAqRaRyJzxkRlZDZp1wApZQ/f8T6aauo +psg== 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=Gpm/bvyzDHckYYqBTqapfimvQq3Ym6oqnJdL+0Skd6w=; b=F9h5r3b2xOQIaXeg2YHeTJ37mmBEf4URGp56SNhIxBAmBdNd3H4RUzkMNOnpwSiQcq tefG1+ikgy7qtoJYsgp4FlDQkAxJFowKipMJUViq54ex5ccaBx1RYl7OmKF3jax522YQ dHHoD4dbto0Z4oF9Z5APhgHvz+qIidJnxHv5bhh832XELtaS/VmQ4T/Fw8Vt54UzeBLd qYkV1JdhiEb7WwwWOPPUYcxwsd9pB2r46MiDgIpuVqjbDvkHni7RhAefIB7h1I/qWUAu HDUj/ftCjHwaijGsmcf1CQ5gMUV/xji9B1FwtngHznzb3p7rDEKqsbk9Xr2LSAE/gSot MvkA== X-Gm-Message-State: ALQs6tBhpyb6mSGuxjlfKLviA9hSNeIAKoatQ0qIbWeJllDRLKbeWCFk y43f+7Rha91BxMhxfeTPrIphTg== X-Received: by 2002:a50:b512:: with SMTP id y18-v6mr15766512edd.195.1525079425887; Mon, 30 Apr 2018 02:10:25 -0700 (PDT) Received: from uhalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id b56-v6sm2108638edd.85.2018.04.30.02.10.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Apr 2018 02:10:25 -0700 (PDT) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: mb@lightnvm.io Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [PATCH 11/11] lightnvm: pblk: remove dead function Date: Mon, 30 Apr 2018 11:10:09 +0200 Message-Id: <1525079409-6588-12-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525079409-6588-1-git-send-email-javier@cnexlabs.com> References: <1525079409-6588-1-git-send-email-javier@cnexlabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove dead function for manual sync. I/O Signed-off-by: Javier González --- drivers/lightnvm/pblk-core.c | 7 ------- drivers/lightnvm/pblk.h | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/lightnvm/pblk-core.c b/drivers/lightnvm/pblk-core.c index cc34d5d9652d..5f960a6609c8 100644 --- a/drivers/lightnvm/pblk-core.c +++ b/drivers/lightnvm/pblk-core.c @@ -342,13 +342,6 @@ void pblk_write_should_kick(struct pblk *pblk) pblk_write_kick(pblk); } -void pblk_end_io_sync(struct nvm_rq *rqd) -{ - struct completion *waiting = rqd->private; - - complete(waiting); -} - static void pblk_wait_for_meta(struct pblk *pblk) { do { diff --git a/drivers/lightnvm/pblk.h b/drivers/lightnvm/pblk.h index 4b725bedc36a..9838d03e1f21 100644 --- a/drivers/lightnvm/pblk.h +++ b/drivers/lightnvm/pblk.h @@ -796,7 +796,6 @@ void pblk_down_rq(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas, void pblk_down_page(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas); void pblk_up_rq(struct pblk *pblk, struct ppa_addr *ppa_list, int nr_ppas, unsigned long *lun_bitmap); -void pblk_end_io_sync(struct nvm_rq *rqd); int pblk_bio_add_pages(struct pblk *pblk, struct bio *bio, gfp_t flags, int nr_pages); void pblk_bio_free_pages(struct pblk *pblk, struct bio *bio, int off, -- 2.7.4