Received: by 10.223.176.5 with SMTP id f5csp2149752wra; Wed, 31 Jan 2018 18:05:56 -0800 (PST) X-Google-Smtp-Source: AH8x225tRI+V5S7ZpL3zxq/rLSl/I1rThhmoJgsdUa4/mQG3R4UfZhM98MDnL1CLyT/6Ns8uwlBb X-Received: by 10.98.46.2 with SMTP id u2mr35437247pfu.30.1517450756655; Wed, 31 Jan 2018 18:05:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517450756; cv=none; d=google.com; s=arc-20160816; b=0PzaxbNko2njD5DwsAVwgl7GRQxTFSgOyhREdRNk8EK2A6C3lX+Ea9Tbv/fVSe3F0q ebWZcnmFSeyh3qcYFRmabAXGiMvQmPo/QOevqxShTitPAnkkoeMhGg/H0J0nP4f/3+BA Bou1xRCN7p/neqhbZzgEPMbg/yoIPAl/HDQttXtk3lEwlI9M2P0YyMlzyA07+PX961xb TWIFR8B2zcHnym1Ns5Tw9ktOXPApnN6aOjyLwqwgPbf+cGC4NWwYhTrRw66rf7JJc/H2 gbQo7POgOkxIT4i+MV8KpN+EoRAOEjJdq2CkQ9fwItPwco+jx3e3lpQO6eycne5VpZZa UOLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=outDe0lnfd/0WqjfnxN9PkWDzpyAPsIvcn3ICo3b6ik=; b=xtooDeF+n5EM+J7mC8S/0X3BMbZD1mIoT7mpBExprd3jlbOEDx3/deJdWv0yxnEFa+ CvuLSGRTMNFn5r6+IDB1EprogaGaJJU95rwlGI39xOkzlkYhlrD6B5tNS5TOC2NYl96L ITpMS5vs1cxGRgvtXe0b6WhlulLUsH5XwmR5uxA1gR0VzcCysll0974R2e8L+oDumZB0 zSMH9njkX5EszKdS9AleNUfR0DkoTpygrKRF3qQLODYDUaKryUhnu9dMBYgTyvmDRmuV WLE2nZoOHoeQM7RxiVUeK7AaqtGb42PSTp551HpRXPuwfRVWz6RAhoemyiQyqWYtSzuU Wf1g== ARC-Authentication-Results: i=1; mx.google.com; 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 x6-v6si4179019plr.80.2018.01.31.18.05.41; Wed, 31 Jan 2018 18:05:56 -0800 (PST) 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; 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 S932232AbeBACDv (ORCPT + 99 others); Wed, 31 Jan 2018 21:03:51 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4752 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932216AbeBACDt (ORCPT ); Wed, 31 Jan 2018 21:03:49 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 24B014FCA2ED6; Thu, 1 Feb 2018 10:03:35 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.361.1; Thu, 1 Feb 2018 10:03:29 +0800 From: Yisheng Xie To: CC: , , , , Subject: [PATCH resend 3/3] staging: android: ion: Nuke ion_page_pool_init Date: Thu, 1 Feb 2018 09:54:22 +0800 Message-ID: <1517450062-16123-3-git-send-email-xieyisheng1@huawei.com> X-Mailer: git-send-email 1.7.12.4 In-Reply-To: <1517450062-16123-1-git-send-email-xieyisheng1@huawei.com> References: <1517450062-16123-1-git-send-email-xieyisheng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ion_page_pool.c now is used to apply pool APIs for system heap, which do not need do any initial at device_initcall. Therefore ion_page_pool_init can be nuked. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion_page_pool.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/ion/ion_page_pool.c index f2318c9..3c1eba5 100644 --- a/drivers/staging/android/ion/ion_page_pool.c +++ b/drivers/staging/android/ion/ion_page_pool.c @@ -15,7 +15,6 @@ */ #include -#include #include #include @@ -167,9 +166,3 @@ void ion_page_pool_destroy(struct ion_page_pool *pool) { kfree(pool); } - -static int __init ion_page_pool_init(void) -{ - return 0; -} -device_initcall(ion_page_pool_init); -- 1.7.12.4