From patchwork Fri Jan 19 16:58:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10175789 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 7FE5660386 for ; Fri, 19 Jan 2018 16:59:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F8EB280FC for ; Fri, 19 Jan 2018 16:59:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 614512872E; Fri, 19 Jan 2018 16:59:01 +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 1679C280FC for ; Fri, 19 Jan 2018 16:59:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755965AbeASQ7A (ORCPT ); Fri, 19 Jan 2018 11:59:00 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:10184 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755775AbeASQ66 (ORCPT ); Fri, 19 Jan 2018 11:58:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1516381138; x=1547917138; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=cckn4Z6fjkSEgl80Ds/uWYAZNK86E+l3pBGwOXHfNhM=; b=Ty0GaH3z1AwpWkxFei3LG4R9HWQW97QxYkCxTUJt8Yr9NJsh68ZgDEAa BjZgg7Y3tCWR3yXsNHc7Bx6C0x/GpSiN279aWgTgRpM38aNXlprMy3yJW LpKizY1BGI0rvzWMfPNHOB3lhRPWYzLP2Q2kY40lI0ayt/TaircRNaBNe Y5ot4csm05Wj/XzxvRRIzbEchZl+4BYWLuRAmxQwbn1YZ+HY3d8hGdqse gwO/h9rWCsExWoK7R1ThIzc8r41Xtzz4fWkNRR4IL/FOOM+PAaUkNfqjW sLxqRAZmKZEawRPv19CpMG+pMYra3Pb38QBDgZD+Kf6HHY0s+l7TH3UNy g==; X-IronPort-AV: E=Sophos;i="5.46,382,1511798400"; d="scan'208";a="69974847" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 20 Jan 2018 00:58:57 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 19 Jan 2018 08:54:08 -0800 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO thinkpad-bart.int.fusionio.com) ([10.11.171.236]) by uls-op-cesaip02.wdc.com with ESMTP; 19 Jan 2018 08:58:58 -0800 From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Mike Snitzer , Ming Lei , Bart Van Assche Subject: [PATCH 3/3] block: Remove kblockd_schedule_delayed_work{,_on}() Date: Fri, 19 Jan 2018 08:58:56 -0800 Message-Id: <20180119165856.17677-4-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180119165856.17677-1-bart.vanassche@wdc.com> References: <20180119165856.17677-1-bart.vanassche@wdc.com> 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 The previous patch removed all users of these two functions. Hence also remove the functions themselves. Signed-off-by: Bart Van Assche Reviewed-by: Mike Snitzer --- block/blk-core.c | 14 -------------- include/linux/blkdev.h | 2 -- 2 files changed, 16 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 5c21d6b97985..a2005a485335 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -3446,20 +3446,6 @@ int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, } EXPORT_SYMBOL(kblockd_mod_delayed_work_on); -int kblockd_schedule_delayed_work(struct delayed_work *dwork, - unsigned long delay) -{ - return queue_delayed_work(kblockd_workqueue, dwork, delay); -} -EXPORT_SYMBOL(kblockd_schedule_delayed_work); - -int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork, - unsigned long delay) -{ - return queue_delayed_work_on(cpu, kblockd_workqueue, dwork, delay); -} -EXPORT_SYMBOL(kblockd_schedule_delayed_work_on); - /** * blk_start_plug - initialize blk_plug and track it inside the task_struct * @plug: The &struct blk_plug that needs to be initialized diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index a4c7aafb686d..4f3df807cf8f 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1817,8 +1817,6 @@ static inline bool req_gap_front_merge(struct request *req, struct bio *bio) int kblockd_schedule_work(struct work_struct *work); int kblockd_schedule_work_on(int cpu, struct work_struct *work); -int kblockd_schedule_delayed_work(struct delayed_work *dwork, unsigned long delay); -int kblockd_schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay); int kblockd_mod_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay); #ifdef CONFIG_BLK_CGROUP