Received: by 10.223.176.5 with SMTP id f5csp42529wra; Tue, 6 Feb 2018 16:48:36 -0800 (PST) X-Google-Smtp-Source: AH8x225e50iAxXkgFCtzicaVcYO14zSILbfDwikh79wzk7+LAg+HSxNJ4P8cYXB7RDT5bLguRLl3 X-Received: by 2002:a17:902:720b:: with SMTP id ba11-v6mr4072213plb.371.1517964516271; Tue, 06 Feb 2018 16:48:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517964516; cv=none; d=google.com; s=arc-20160816; b=ojjVl56qO+x1XcxYIS2wwzStyTdlJSdNjQ/J+hixgOce/UKI9m+o2DuYkJ5rzFneBE mBwSR07ZCqs947zvTT4v7fPYkjsmFuIV3n83NpVIldzBl7yIigG3N35a9U/LmTZocTuL NCbf3DtWAo/2vdI9Jg3a5o4jg7vmDBSYCbk8lp7YFHRh0ZJzHFdxJ7YUsxNBn7Tb9rW7 WkBrsZFJZ/hSztmTNiWd7mYcZXKdRqfVYYzhgq7hEU8hIWiSISpR+kFk6eVuUmnLGGzv 8LniagLcADA2+WV++mzmaLox3nw1dznaMemVy8OjToSq2jHpmBTxf6/sDn03PaxUoYXK hkjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=0rjkJq1Iv735i0tBmkSduSmsda8RVGqXtbUAmsOGAsE=; b=FOz9K9TuAPDjeVKVxClba5YBh0vQuUjvmGTGWUXwt5qTsXAHbcSV28z1fpRUY0rHYj Cmb1aU3lQCtKxd7nYkRIG28uqR38CmkX/eMcRnHFZFNuaW4Pw3UTod6I1ovgqu2nNQWy cr4CT0aGDVBKpHs7iXyP1O+d1yYhYoxeI8ltz5jf0Ttf2Wa359sqTmXJFw2sCfaX6kFl FVvuf76Hbzb2314l2MaIMn1PVeAHjn4/1dN9WhimHlQf0yHEwDq+z5IFWakDrApKqRDP GqUZwVdYC8LP+f5bF24t9UxKfOOdVrtCTJ1xat1mJhQiUx9FecWDuUgOOFjDtL3w56MI OV7A== 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 b4-v6si169118plb.648.2018.02.06.16.48.15; Tue, 06 Feb 2018 16:48:36 -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 S932165AbeBGArf (ORCPT + 99 others); Tue, 6 Feb 2018 19:47:35 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5182 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754148AbeBGAre (ORCPT ); Tue, 6 Feb 2018 19:47:34 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 1907B8A23E198; Wed, 7 Feb 2018 08:47:22 +0800 (CST) Received: from [127.0.0.1] (10.177.29.40) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.361.1; Wed, 7 Feb 2018 08:47:22 +0800 Subject: Re: [PATCH] staging: android: ion: minor cleanup for ion_page_pool To: Laura Abbott , References: <1517392252-20964-1-git-send-email-xieyisheng1@huawei.com> <19448c54-7214-ce7c-1ae0-9e8605e34f2c@redhat.com> CC: , , From: Yisheng Xie Message-ID: Date: Wed, 7 Feb 2018 08:47:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <19448c54-7214-ce7c-1ae0-9e8605e34f2c@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.40] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laura, On 2018/2/7 6:51, Laura Abbott wrote: > On 01/31/2018 01:50 AM, Yisheng Xie wrote: >> ion_page_pool.c now is used to apply pool APIs for system heap, which do >> not need do any initial at device_initcall. >> >> Meanwhile, this patch also remove some useless include files. >> > > Acked-by: Laura Abbott Thanks, and I split this into two small patchs as Greg's suggestion in a resent patch. Yisheng > >> Signed-off-by: Yisheng Xie >> --- >> drivers/staging/android/ion/ion_page_pool.c | 11 ----------- >> 1 file changed, 11 deletions(-) >> >> diff --git a/drivers/staging/android/ion/ion_page_pool.c b/drivers/staging/android/ion/ion_page_pool.c >> index 817849d..3c1eba5 100644 >> --- a/drivers/staging/android/ion/ion_page_pool.c >> +++ b/drivers/staging/android/ion/ion_page_pool.c >> @@ -14,12 +14,7 @@ >> * >> */ >> -#include >> -#include >> -#include >> -#include >> #include >> -#include >> #include >> #include >> @@ -171,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); >> > > > . >