Received: by 10.223.185.116 with SMTP id b49csp2153680wrg; Mon, 12 Feb 2018 05:20:18 -0800 (PST) X-Google-Smtp-Source: AH8x224VyHAtXGP3HNf0eR8W7fZLbLLwA1wORCyLe1H6SKchQgXCVXNtZtbxKUyr+76WKkxqQ9dR X-Received: by 10.98.83.71 with SMTP id h68mr11729577pfb.198.1518441618554; Mon, 12 Feb 2018 05:20:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518441618; cv=none; d=google.com; s=arc-20160816; b=ufshH2kl9Q8OvLaDs77G4bW1czhdUkIXB9xSFsmei8lEQ10mRZfqtw6Nfmh+bEBwTj lJXHbKs773aFIBWh+phGwhPdPLkNfJyIbduveo9I7u1c53LC0UvvRh5+diqkONAeqV7f +hfc8s04003Wcrjqj223uW5CnOb2f2VOwJC+46CTS7rG1A3GrXTP/7OToW1BIZWk1q9H 4QKdeVI1ybKvCY08bwz87xYCbTWaXvaqi2vF+lrVcqIP2sCFDx/nqO9GfLE255+NopdQ ohZCkC/MmHnr0MQO/i/3Jz+f1LGIdQjNazkOt8rMZ9gsMEShMH8nsgr54lm9L4z2Awww ygbw== 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=MhZ/BsYukqxTvYv5hh/NQcwn8k6naVp78zwM9HSabVc=; b=WdW0lgbwss4a+IccPxdZMnl43N+qDhDAhfytDbgvqo/5xl0mQzWCRQSbyB3zODkKjS ApVhfRDcVJc0BLJNtmbnFwRVI90D0WXJAzQ8I162QPWEXK+epEXjBq7reWuLcreGf+O3 gzbgm2hU1JHfQhfETdvIoz1gg8tbYnJI4+7DZ6wmGoPlDZKklYCSzTTVtVeQqf5ez4M4 wcRDkIRUZu5DKhpCWjZTnzrakZQCOHZimbHITqGh2Z0tPB+MJvA3Lntqdi8C8lg9K31V dcfnmrbviWyx6Qlmv9+Isltfho5LKLaisYFA5NK1RvapSazwJryTZPEAV7ReIPE9uigt 6hfA== 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 p189si6315715pfg.297.2018.02.12.05.20.04; Mon, 12 Feb 2018 05:20:18 -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 S933800AbeBLKwi (ORCPT + 99 others); Mon, 12 Feb 2018 05:52:38 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5196 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753996AbeBLKwc (ORCPT ); Mon, 12 Feb 2018 05:52:32 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 431E86E76D7EC; Mon, 12 Feb 2018 18:52:19 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Mon, 12 Feb 2018 18:52:14 +0800 From: Yisheng Xie To: , , CC: , , Yisheng Xie Subject: [PATCH v2 3/9] staging: android: ion: Nuke ion_page_pool_init Date: Mon, 12 Feb 2018 18:43:08 +0800 Message-ID: <1518432194-41536-4-git-send-email-xieyisheng1@huawei.com> X-Mailer: git-send-email 1.7.12.4 In-Reply-To: <1518432194-41536-1-git-send-email-xieyisheng1@huawei.com> References: <1518432194-41536-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 f0847b3..4452e28 100644 --- a/drivers/staging/android/ion/ion_page_pool.c +++ b/drivers/staging/android/ion/ion_page_pool.c @@ -6,7 +6,6 @@ */ #include -#include #include #include @@ -158,9 +157,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