Received: by 10.223.176.5 with SMTP id f5csp839075wra; Tue, 30 Jan 2018 20:38:13 -0800 (PST) X-Google-Smtp-Source: AH8x227zAARfZa6vk4IfQQhofysnHv9ijh0f2ee4ph/PG95tYASNzUR5foebe1v2G07EutBO9Hbb X-Received: by 2002:a17:902:5186:: with SMTP id y6-v6mr9473072plh.188.1517373493611; Tue, 30 Jan 2018 20:38:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517373493; cv=none; d=google.com; s=arc-20160816; b=Zj+QgrIcBdAe79eb7q/i2UK5ydH6HaafAgQeXk07qYzHyN0ronSp4tHXiU0VTUAEhs /ThO8t47DGq5ux4bXAzB7ucblCkE4OlhZuYnAOrKCBvK8nViNZp2Da0N4h8H42GJasxw uqdweHmBJsFmJiQRafqeD3px7DQ9YjWRAE6xRE+aLATbMlX2iWxSq+XO12sDH+szMEwT OeXFcXNnI8gnJCETbd4mIcX1mtD5PFkaKdDgxw8Q7PMqC0dWv+JA+ephIqYh9Em6OgxX nF9LV8s7IGbWZ3J5SyBCS7lbT4CkbXo16iATmBg/AadZar9oE5O0QpeIoTz7RVJZ70yj aUaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=rT9OpE+k4iUMtJs6A1kLEMJsOBO62uit4/+fhlSL9xQ=; b=C9rx2sEPNR3eQQjM/GZB04nzICA6yQh6gsiEehGjuoVaVm26ini7GL63KDkSUerExw wNgsP5v56TzH3AW29vDPCkN0UUqphFio2vrI4DWkuaIl6hvIPIE4UqmXvuP9NoLh5EAo wADSxcmXQOCZecmvEm3Y7xds1RZnJYrtnpuPXnyPskYm8hSzCR19HXwVs4Hwjco6rGrc zCWb6VE/WS+T02vP75jiyNw402x2ch4QnIBao/eJtyfv+bmQjCVa/txkTqp7ctma5OMH acsjKqhjzXqgkEzh20rSk4utzu0aiDoj27hxA/l4tbR8HqZFwz6u5CBWJpLpUz1Motla uCbQ== 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 f15-v6si1202855plk.245.2018.01.30.20.37.59; Tue, 30 Jan 2018 20:38:13 -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 S1753270AbeAaEKr (ORCPT + 99 others); Tue, 30 Jan 2018 23:10:47 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4747 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751690AbeAaEKp (ORCPT ); Tue, 30 Jan 2018 23:10:45 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 427A0B0DB5B37; Wed, 31 Jan 2018 12:10:32 +0800 (CST) Received: from linux-ibm.site (10.175.102.37) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.361.1; Wed, 31 Jan 2018 12:10:24 +0800 From: Yisheng Xie To: CC: , , , , Yisheng Xie Subject: [PATCH] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings Date: Wed, 31 Jan 2018 12:01:31 +0800 Message-ID: <1517371291-37515-1-git-send-email-xieyisheng1@huawei.com> X-Mailer: git-send-email 1.7.12.4 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_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 */ -- 1.7.12.4