Received: by 10.192.165.156 with SMTP id m28csp466076imm; Mon, 16 Apr 2018 03:28:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx49XGmdFDdtFpUJAfWxj9sUCw8CgjLFvEr/o2JLF78LV+H4lJ5lRhdD+mI0VGjsF8fOdWDqO X-Received: by 2002:a17:902:a985:: with SMTP id bh5-v6mr15185971plb.0.1523874495769; Mon, 16 Apr 2018 03:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523874495; cv=none; d=google.com; s=arc-20160816; b=WNyo4d2gcBZK+YC9M7LGykvV9KaRMCJeHk8u6C9gEyAJeL+nsYvsT9F4vP1IDTKD92 YAuqpYo8l3O1kiMioyCsfre7on5NOP2qYMNBUtYSTVeomldo2MyHsW/4JHncwQO5Zeax z4FqRbvj+QHYc+fYMls3mAOE3TUB9H8IWCAOBvTMwr5O+rJc+jhuR3ktktmVekVm5iJG cogJY+gtZGFFuBHZg4ETY5w6q+coNXZLg5sZscHeCJW5tZl8dCXQiKc5RHV28Wl7tqYW fqOCigLtUcoNahpJ65qwvhIJlQegH/3HqcT/kLl5SWsZhJMYHnrynjvkHD4qBeGs+DmX v2Yw== 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=z/6lKSzON9z/31dYd/eIMncWnvgCrgC/fH2GT4QF/5k9g8MtQgjjIhKTGVn9KfoRdw TBAgJe2TWq0G7jvp9Q8mja9RXABKNmGbQotV4W0FRZza/LQ/OZh5rRLAd2qsXaMUqbq7 kUB2SzgNc3uDp2RLSEelV6giaBOTOCOqksPNpyf+ce9qgi0GE0OfDqlIUpsKlz2qiMHB M4Zuj8ZxsgOnqRbORjrnyNmSprD6E6+6/j7vLjgLDJgf1iScqt0hse0ekhhgxeMpeiKU RYpaCWGJNgwE8qW+IAF1DdaYa6kijktNTfIgnuSe+Ww676tz3psA+PDcJVpzTwVaigjd TN2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@javigon-com.20150623.gappssmtp.com header.s=20150623 header.b=zR3tijsb; 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 f10si4873306pgc.127.2018.04.16.03.28.01; Mon, 16 Apr 2018 03:28:15 -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=zR3tijsb; 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 S1754684AbeDPK0Y (ORCPT + 99 others); Mon, 16 Apr 2018 06:26:24 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:46801 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753984AbeDPKZv (ORCPT ); Mon, 16 Apr 2018 06:25:51 -0400 Received: by mail-wr0-f196.google.com with SMTP id d1so24431358wrj.13 for ; Mon, 16 Apr 2018 03:25:50 -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=zR3tijsbTVfUAJukJomcxccC4muk+CuqUy+wwUrWF5x8cJ6B9FsEr7900vx72hmAdG 5uBF9ar1YOK2+H7MbszMy8VOQXv2t0pwrCEJvnr2ghdWzaxVa7y5DS+94OOXB+XLBOOh 5NYFx7f8/gmNbbmxWk0zC22bMBOWPsfKR62sGemHHbZzXnRvsu3CXHQh0+tE91ug/6yI i54nJRWD/9R+vZWwh9TkQbZR1KcrZPckzYOBbvNhbgFT8cy9y4B9PbpyMGdtpGnDzGeq Xj0YTCU/bLT1Di7bmvxczXzs5mcQmvFjaMGm9dzcGxUGn8BPDT5SGt8l0qRz+f+LblWW W5Ag== 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=LwUf/Ha9y/us68IoLHRwsGd2+1m1PG34db52xo96CZC9b2SeLMCiieBJUCuyGC73/C U7EwHtc+8nIGKKGMQJoSI5xtqLk3mYMIJetZOC5JiAX+2gOYct+gX+9rpho0GAddXhvI vXrz2DnxgVpViuMw/NEAcZpOkMeTBnSifpVEakd4yCxZNi6JZVFhDRjzAgFY382xxlGM vKTXfv+FjdPoHOCuApDxdZOhpVxLWUmVhqOXXtG8S/Ng6ZN2CFj+UsuXEbyOJFFu+64s 5+vXpT2Ytuv7RMKiEXca+O983jqn8GNmNpJHV5A4jnatIa6SeVJxfp48zB+fvun7KLk8 7NAg== X-Gm-Message-State: ALQs6tDtYcM5SoKVxznid4yf4zk7PWFLhyftM6ltDnLiUQJ38rbVQfYE xAVvuOpiCfZHavgw82wkTK8//A== X-Received: by 10.80.146.110 with SMTP id j43mr1473552eda.134.1523874350202; Mon, 16 Apr 2018 03:25:50 -0700 (PDT) Received: from uhalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id q11sm4250074edj.2.2018.04.16.03.25.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Apr 2018 03:25:49 -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, 16 Apr 2018 12:25:32 +0200 Message-Id: <1523874332-6272-12-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523874332-6272-1-git-send-email-javier@cnexlabs.com> References: <1523874332-6272-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