Received: by 10.223.185.116 with SMTP id b49csp2020136wrg; Mon, 12 Feb 2018 02:57:37 -0800 (PST) X-Google-Smtp-Source: AH8x2259Ghc/hci8r9XaQE6E0tGgDzUVnTeXAN/N1kbnue+Q+vCgX8H/jqbVk0VlAY/ka5nXQUfc X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr203829pli.102.1518433057488; Mon, 12 Feb 2018 02:57:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518433057; cv=none; d=google.com; s=arc-20160816; b=oHWPfGwLN0+GRKzyZV+9z9tt6wjpMoBEIrEueR3Nct0sQgNo9BwHzwW0wDuL+GjI8a njP3tdJWBxCRzhaRlTxdjR8vEurXhXS6L9fGTq14BYQRgKHPb6pjgs7rHvGNSajpFJ56 x5Aah3PcGGVG3GZODzlvf9TXnbOG0dBl65ucy/k5TWYgWjJ6w5fIhurSRKuIWiERulBe IwhdZFiIVeN0XYGPKbd4Dd6CbYYPwNDS+G7/k57UA6mv1bW4sY3+5T1MmKzdKnHSa8AN CZjGt3bzrzrxWncUC5vLylXx/3y+Ohx8ord0AUGw3DhB/8tzVpsi9dDlq0LqjRbcLzgy vxxA== 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=GwGO49GsvS0foueXj1oEVwyWfGA3Qo0RfE0uAoGcebE=; b=eArUwFw2iONtUe3OkTd4RcjRIL0LXlTtOQhrgCGP+wqt8Ms4TAiRtIjZUPRG8NUatv IEfcWU5t6PV4LDuL+AaOGpEGnP6iMnxP9xzpUrwCrwdWtRVjg32LzDzq37Tpnya3nHYX +p8fm/21EkumHfAyAjnwvo6i1/aA3hH4+0tnQF94PD2DNhu/SSyhcdU20MKqUhKvhlkj AALng0A/4qEaNTgXLw3FsQ9LdqDVXqKzSChJLcf9X/jJzDtlUl6o9wanz6aUliqAzxIF VaNTdMo0K+vTN12d8VBC0H850j+/XiYITNg8x7GRtK1VsB9AyIxQ78PgeLvviDvjQKFu ZN8g== 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 t64si5004063pgc.294.2018.02.12.02.57.22; Mon, 12 Feb 2018 02:57: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 S933726AbeBLKwd (ORCPT + 99 others); Mon, 12 Feb 2018 05:52:33 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:5223 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753786AbeBLKwc (ORCPT ); Mon, 12 Feb 2018 05:52:32 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 19745D46C351F; 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:13 +0800 From: Yisheng Xie To: , , CC: , , Yisheng Xie Subject: [PATCH v2 1/9] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings Date: Mon, 12 Feb 2018 18:43:06 +0800 Message-ID: <1518432194-41536-2-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_buffer_fault_user_mappings's definition has been removed and not be used anymore, just remove its useless declaration. Acked-by: Laura Abbott 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 a238f23..1bc443f 100644 --- a/drivers/staging/android/ion/ion.h +++ b/drivers/staging/android/ion/ion.h @@ -193,15 +193,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