Received: by 10.223.176.5 with SMTP id f5csp1207731wra; Tue, 6 Feb 2018 14:51:25 -0800 (PST) X-Google-Smtp-Source: AH8x2265vVktY+T3m6wChtMuO9joR1t6oAgMM/0tvcmKm4SiieZx7TO+2urzJvbgaWiu/KTvz58/ X-Received: by 10.101.76.78 with SMTP id l14mr319027pgr.336.1517957485372; Tue, 06 Feb 2018 14:51:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517957485; cv=none; d=google.com; s=arc-20160816; b=lOkmBdWyQdE2tuKhiiFJVe+KqQS9lYjXSBrqpg2ZgDSUrnyu8cVF7d2b8b8qpB0XOH +j7ao6oSZ2TCrpBk16SQ1sxuTrpl8+X1S7PcP9plXuFfJXqgfkGdco6w5ointgze4XUi 1C2msPd5SjzF+62KncZI5SpuKaMbZa5xFu6A02Zb9Sh4xQ6WI+Y8vfyX7hzWK/3ib9Iv qFrGacoUoqkNHKFjGkKhED7vSnFgaX3eDqDIpf4PD0VF/tgT/gLykmviB2DxtLy/PgFM wK7PcNFYnOsfmpk0RVY8LAHaFwLWWyjLtbDvpPrsbr7/eJw1yny2ChkGJMp7Z1z7anrh V19g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=HWkQqR8/6VVfzmrgUdg4C2BXtvzGKLNMypYe8TI3ivQ=; b=CTSpZf4L+eTHnSkfz93IoJCshd6Y6vnoYBHifQT3Jy8Ef7KEK6a6zwzy3HZ/j55K/U 0R3ZnV0oxXp9SpWHuaLSAPr1Dsb06X96OJ+YTlr4zBvB20e7qXPw5db6mIYKL+6Wz+lN Z87qKxh/Icejf8pYNbl+XgxlMLZrbXgpIsePBFD+EdGJ8U36sqyC85qC7M44NZqhz6yS 0ZEPfcL0tCV8Eznzo+bgLupMWaCOI5QaveXTSU6BDKLbTTZyYMJSRFr9Sada+4uYv2Pt /sDVwXkyz7HnTeSDIDWYgYJL2kiqF1NX1A3gxNr7yto2o8u+zUtmD5Qr+ODNWSkWKrXO Gz5Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l193si52142pge.274.2018.02.06.14.51.11; Tue, 06 Feb 2018 14:51:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753673AbeBFWuC (ORCPT + 99 others); Tue, 6 Feb 2018 17:50:02 -0500 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33221 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753339AbeBFWuB (ORCPT ); Tue, 6 Feb 2018 17:50:01 -0500 Received: by mail-oi0-f65.google.com with SMTP id l8so2621184oig.0 for ; Tue, 06 Feb 2018 14:50:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HWkQqR8/6VVfzmrgUdg4C2BXtvzGKLNMypYe8TI3ivQ=; b=DktTnngiS0BLcJ5zH8ogo4a35t3dFpd31z8cDVL7kaJwrch+I0QcA6YvwZhpiwjoEr B1v/PGeaxkB1cx0P7FRtIxjPFbcyy+bs0FBsoOopil/m1fSTKRwmGKq22pSRC4ZX1SWG BmYPC7q4niitqMYgUoqYMazG5uGhnLJTxDOzOie167VwnkWjMHGgTjJCRfTc0cdtfFkH v0dVveUXPT0tq7KwFMiIxZ/1tWNUCED/c8NlKxPpQdwCkgLAi8Mi/2xbMnteyUkJM3kf ASyezHKQ0uip/GZlGYuqzwjlvAdu3eIkY/w7kla7XcnxhSyQhe4nwEQjGKugvolFLGBQ 8yvw== X-Gm-Message-State: APf1xPDsrYqoey9nymkmeBbOhGJHMYI2EA6zkh1C7urf02fZo4YU488Y blbo19PpedQe0D0apI9lR223wM+JFiQ= X-Received: by 10.202.89.137 with SMTP id n131mr2684596oib.354.1517957400668; Tue, 06 Feb 2018 14:50:00 -0800 (PST) Received: from ?IPv6:2601:602:9802:a8dc::f21a? ([2601:602:9802:a8dc::f21a]) by smtp.gmail.com with ESMTPSA id j69sm51598oiy.36.2018.02.06.14.49.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 14:49:59 -0800 (PST) Subject: Re: [PATCH] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings To: Yisheng Xie , gregkh@linuxfoundation.org Cc: sumit.semwal@linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <1517371291-37515-1-git-send-email-xieyisheng1@huawei.com> From: Laura Abbott Message-ID: <6f216cf2-ae84-0721-b68b-bb1837e1c687@redhat.com> Date: Tue, 6 Feb 2018 14:49:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1517371291-37515-1-git-send-email-xieyisheng1@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/30/2018 08:01 PM, Yisheng Xie wrote: > 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 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 > */ >