Received: by 10.223.185.116 with SMTP id b49csp2059708wrg; Mon, 12 Feb 2018 03:41:37 -0800 (PST) X-Google-Smtp-Source: AH8x224S7GvMOKV2wpNYYFS6rQHd21t2VRdNKyyu+AFRq1E8Qyhb6QPSQ2Zpy8lQECyhEjdz53FS X-Received: by 10.101.90.8 with SMTP id y8mr9022420pgs.34.1518435697801; Mon, 12 Feb 2018 03:41:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518435697; cv=none; d=google.com; s=arc-20160816; b=OURVyIqMw08SaHBEY9f0aEHF6+jcrAvwZ7KoBW8MPPCVFuhtU5YFv0+S+Y/QMPumLZ QVPv5S1yRaPeCQNBbu2i8zbV+GZvvsKZUtSTn+1hS59aiGDToFIn+4ZsTyEqDahvvYxn W4gAZmRC6QrdxMmAXfp8b3YvopsHBudetnw18Z6dzj400rorTqsUSUGBviLmS13WxVna 4lkZrV30wU9usVXhAmPtcUWixdjpf7W7SlpELCuW6aitugoGFdFg8Y/QPKA8Gho7oDvA rtxU0xWWS8XZvbNDro+8+Z8jOBjBg07WkHAxg50r1C3SnZsIsgSzkqgtn5j9GX0gq6AF ftGg== 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=L8GyhOlXsxcxRyvURwStNO3phL/idhpMjJizXVcOLCA=; b=XIW6ggEuD6HWmpLf1C3aIDf1v2nWw4Rl8I8zOIX/Do2oLphdykFsrA5e7yekgvOQBk s8H99YFAGLjQ36cJ4PVoIV/ruGVQ4uxfbbvqltV7jBXSbdkDa2r4pthDs7/g3YRSSQFL VugegeBiZqoWUv9MQP1RQRcUWBmKfXsxbPLiGI1/O7LXb9Pe5D+SVGdOpJyTdOhAhjxF ZZQHaqidGoWatWMF3LLVg+ytcYPCng17l2mnnzSHanwrg3TLFO4srDXudBz9pE3se0xv 7AIm349l+dZE2r3KSIg/wTJmzfSlLnrXb2Kv7h+48l79JueSJMoR+aYRTMiOnOwjeIRf VWDA== 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 60-v6si2905114plb.362.2018.02.12.03.41.23; Mon, 12 Feb 2018 03:41:37 -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 S934090AbeBLLkn (ORCPT + 99 others); Mon, 12 Feb 2018 06:40:43 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5206 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933981AbeBLLkm (ORCPT ); Mon, 12 Feb 2018 06:40:42 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id BFC0C8D208639; Mon, 12 Feb 2018 19:40:29 +0800 (CST) Received: from [127.0.0.1] (10.177.29.40) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.361.1; Mon, 12 Feb 2018 19:40:27 +0800 Subject: Re: [PATCH resend 1/3] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings To: References: <1517450062-16123-1-git-send-email-xieyisheng1@huawei.com> CC: , , , From: Yisheng Xie Message-ID: <344d69c2-b25d-b45b-61f3-bbb597441b9f@huawei.com> Date: Mon, 12 Feb 2018 19:40:15 +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: <1517450062-16123-1-git-send-email-xieyisheng1@huawei.com> Content-Type: text/plain; charset="windows-1252" 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 Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/1 9:54, Yisheng Xie wrote: > ion_buffer_fault_user_mappings's definition has been removed and not be > used anymore, just remove its useless declaration. > > Signed-off-by: Yisheng Xie > --- > drivers/staging/android/ion/ion.h | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/drivers/staging/android/ion/ion.h b/drivers/staging/android/ion/ion.h > index f5f9cd6..2160c35 100644 > --- a/drivers/staging/android/ion/ion.h > +++ b/drivers/staging/android/ion/ion.h > @@ -201,15 +201,6 @@ struct ion_heap { > bool ion_buffer_cached(struct ion_buffer *buffer); > > /** > - * ion_buffer_fault_user_mappings - fault in user mappings of this buffer > - * @buffer: buffer > - * > - * indicates whether userspace mappings of this buffer will be faulted > - * in, this can affect how buffers are allocated from the heap. > - */ > -bool ion_buffer_fault_user_mappings(struct ion_buffer *buffer); > - > -/** > * ion_device_add_heap - adds a heap to the ion device > * @heap: the heap to add > */ >