From patchwork Mon Nov 28 21:39:00 2016 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: 9450521 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 54DD66071C for ; Mon, 28 Nov 2016 21:41:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 451D727BFF for ; Mon, 28 Nov 2016 21:41:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A0E927F60; Mon, 28 Nov 2016 21:41:03 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 83C2D27BFF for ; Mon, 28 Nov 2016 21:41:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755821AbcK1Vkx (ORCPT ); Mon, 28 Nov 2016 16:40:53 -0500 Received: from mail-wj0-f195.google.com ([209.85.210.195]:34114 "EHLO mail-wj0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755574AbcK1Vjq (ORCPT ); Mon, 28 Nov 2016 16:39:46 -0500 Received: by mail-wj0-f195.google.com with SMTP id xy5so15802357wjc.1 for ; Mon, 28 Nov 2016 13:39:45 -0800 (PST) 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=ovRy3PotmnC5TwtnAOqxGdPcgaPkg1RC8jAYeUCUGwA=; b=bgcwpcz1ZetLHmhrIORdwObQ3DV2YtU0ChW6Ku6PSajcGa3lvWb5x6lYV/zjlNodYi PWqzwtNnD5SPzbhCkyCHANPjos7bDoZI7aAqQ5lXzwb3AsTfl7jzLlUqnSbWdBrojuzX 0SeTCnRvQiO34fKADYM9lV3NzSju7XXu4Qxno= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ovRy3PotmnC5TwtnAOqxGdPcgaPkg1RC8jAYeUCUGwA=; b=ULLVIfVd5SUwANckqAUd0DjYX72lqfs4Wn2x6lPFZO4vdHZu8oizfXdmzWJ+jTJKdw tysglLZ51Rms1JMzblALc1ihvkYPnH4xwL+vVAfEwChpYTBXrBcQJp4QoRSri77cYxSq rPMGtBPMMDIhQ8ecBAuTkD5MZu3hjd1vVSceNEeyS8i/nBBEwvIYKVyMFQoKvQYNeuJW Gl1HWE/MBe1Si6NVrIsEfR9D1qDPZts3AxiaT2nqkxdWcUC38aHgRUIooZ3oMs4+0xmF vIJZ3YtJGI8XOjADV8PAP0i8KXrpTrjG0rSHFb5ewHEGVweyobp6D7leCnSdGc4t7TXT MTTA== X-Gm-Message-State: AKaTC017j1yy77HsMxDGVaMsvzRkmajjko/sKAyehzF0Nb6JFnJGIhbBN08wK0aZCPuSRA== X-Received: by 10.194.108.10 with SMTP id hg10mr24788197wjb.58.1480369184782; Mon, 28 Nov 2016 13:39:44 -0800 (PST) Received: from Macroninja.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id w79sm30825843wmw.0.2016.11.28.13.39.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 13:39:44 -0800 (PST) From: =?UTF-8?q?Matias=20Bj=C3=B8rling?= To: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: axboe@fb.com, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Javier=20Gonz=C3=A1lez?= , =?UTF-8?q?Matias=20Bj=C3=B8rling?= Subject: [PATCH 09/23] lightnvm: cleanup unused target operations Date: Mon, 28 Nov 2016 22:39:00 +0100 Message-Id: <20161128213914.12516-10-m@bjorling.me> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161128213914.12516-1-m@bjorling.me> References: <20161128213914.12516-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: Javier González Cleanup definition leftovers from old gennvm interface Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- include/linux/lightnvm.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h index 6b26a32..e598308 100644 --- a/include/linux/lightnvm.h +++ b/include/linux/lightnvm.h @@ -477,9 +477,6 @@ typedef int (nvmm_remove_tgt_fn)(struct nvm_dev *, struct nvm_ioctl_remove *); typedef struct nvm_block *(nvmm_get_blk_fn)(struct nvm_dev *, struct nvm_lun *, unsigned long); typedef void (nvmm_put_blk_fn)(struct nvm_dev *, struct nvm_block *); -typedef int (nvmm_open_blk_fn)(struct nvm_dev *, struct nvm_block *); -typedef int (nvmm_close_blk_fn)(struct nvm_dev *, struct nvm_block *); -typedef void (nvmm_flush_blk_fn)(struct nvm_dev *, struct nvm_block *); typedef int (nvmm_submit_io_fn)(struct nvm_dev *, struct nvm_rq *); typedef int (nvmm_erase_blk_fn)(struct nvm_dev *, struct nvm_block *, int); typedef void (nvmm_mark_blk_fn)(struct nvm_dev *, struct ppa_addr, int); @@ -504,9 +501,6 @@ struct nvmm_type { /* Block administration callbacks */ nvmm_get_blk_fn *get_blk; nvmm_put_blk_fn *put_blk; - nvmm_open_blk_fn *open_blk; - nvmm_close_blk_fn *close_blk; - nvmm_flush_blk_fn *flush_blk; nvmm_submit_io_fn *submit_io; nvmm_erase_blk_fn *erase_blk;