From patchwork Mon Apr 16 10:25:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Javier_Gonz=C3=A1lez?= X-Patchwork-Id: 10342619 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 7668460365 for ; Mon, 16 Apr 2018 10:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67A1B20121 for ; Mon, 16 Apr 2018 10:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C2822863F; Mon, 16 Apr 2018 10:26:54 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable 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 E227920121 for ; Mon, 16 Apr 2018 10:26:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754636AbeDPK0X (ORCPT ); Mon, 16 Apr 2018 06:26:23 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:36622 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754253AbeDPKZv (ORCPT ); Mon, 16 Apr 2018 06:25:51 -0400 Received: by mail-wr0-f195.google.com with SMTP id q13so21010642wre.3 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=iyHw3t+Hjr/20fMOGDSy0KLqQVjPgmrNJuEBV9lLXdt/P68B5NMUhHDD7U58sLQGeH qvQ4m0OxdNDmXkIXE+cDKJVV21lmnqsywGUXD9kkYY2sgAVDQv4M4mLyPZ2rf6SjQktC JQ/gh2si/rRqJryk8mB0d9jobOXLbVAJp1gp2rDbILuc1uzQ4W8fI4wnXeLTPGTtMrOu NCZswbekQTgtVDN8QzUqXS+NGlc9SdaWLRsEvTOa5vuHesrVTtvgTSjJP6ce/LtvQCyh 3GL0yqOqFyyFs+LAXgVcyZ//0Aicp5HQ8MKWeywCC6dcehcBiI5noTAmDGM9yBPFjDFA tqrw== X-Gm-Message-State: ALQs6tBAeQxbmKiSf2dU7XzsueXa2adJtJXPVAnuwq3Y0SZrqr3jKBBc 0axbOYq4SFwtiLetBDspShDq3A== X-Google-Smtp-Source: AIpwx489SstNVqruZU05DyTUKof8xYLzNecaAQqwudvMHwnhGn7do3i+0eh5AX+jf9EIK6U/4LA7mQ== 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 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 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,