Received: by 10.223.185.116 with SMTP id b49csp2153503wrg; Mon, 12 Feb 2018 05:20:09 -0800 (PST) X-Google-Smtp-Source: AH8x226iKYx86USEK1kCJogF+bLwb+deAIWMxK9SZLZkB5qu1WjBkGlkyzDhqvrM8KxdPd4nOJZQ X-Received: by 10.99.111.11 with SMTP id k11mr9070609pgc.86.1518441609329; Mon, 12 Feb 2018 05:20:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518441609; cv=none; d=google.com; s=arc-20160816; b=PIV4M8VCQp7Y4QhPc76PCEFBBbBk7zRpym896Q+XSz8ScI34j4ZRywlEZXcxbI2LUI 4iZDeBbUpNE/wEzi/KGSpQeKImDPz7ViGbqKmPeQBHmvPxOl3oqEQjaxstNXabIxjj/i 1GzdENBTYTyGMOIMRyVzo89R+fnB7dTxRhwdZDdn5+GAojv1MjGcLN8XDYKg1F2ybUzN fvbJCCdT/m6zyoq90X/UyMA2g6rC9g7zcwdDI9nr30P10/ZJIM4NsjmlgdlDgqU3DEj7 bn1WPpOTHdKxkZReYQBaZZw+Y3AWliYnz8anXtNby7HTxpQ7QvMoiV56RBjIVGdyAdjM YxWA== 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=IGLVDqhV1d2qSbrblfzlQRmmgIcy2pqZ1y6/1yUTOyY=; b=PtlKm2dyBzY2dTAg2zK3pq+bnlWadzYPwiVYFhdP72leaZYnNe2B7lHHuDcFbtPGEB eV1jfOTgFew02HvGFa/4lN+HCEshbRcV9SLvAAuddxE0+5KtGWJEDDTh+N/aUFRUnB0G PLB4JDMMeOXnfXckw9QPpLRNp8HQHiR5rJe8PL13f6zrwgOFYeDyDYAMbLMqYEDHUf9y 63IM8sV/857R04paSxTqRLd92ztXVm8xQvQS9VfbFL/5YYH+HP9shVdLgKMU61VOUHxH uqXMQKdY8h3jhTLrUrCIFtA657tVFrruklcqHxbpWBRT77W0vYtsmx8mN+exybdPKTjq fU/Q== 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 f90-v6si5791524plb.684.2018.02.12.05.19.55; Mon, 12 Feb 2018 05:20:09 -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 S1754077AbeBLKwg (ORCPT + 99 others); Mon, 12 Feb 2018 05:52:36 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:5198 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754009AbeBLKwc (ORCPT ); Mon, 12 Feb 2018 05:52:32 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 6029168C6705C; 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 0/9] staging: android: ion: Some cleanup about ion Date: Mon, 12 Feb 2018 18:43:05 +0800 Message-ID: <1518432194-41536-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 Hi all, When I tried to review the code of ion, I find that there are many place can be cleanup, so I post this patchset. I mark it as v2, because I have post them in different patchset before[1][2] [3][4]. And now, I combine them in one patchset to make it easy to review, Meanwhile, I add some acks and rebase them to v4.15-rc1. Thanks. [1] https://lkml.org/lkml/2018/1/31/711 [2] https://lkml.org/lkml/2018/2/1/240 [3] https://lkml.org/lkml/2018/2/4/320 [4] https://lkml.org/lkml/2018/2/6/949 Yisheng Xie (9): staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings staging: android: ion: Remove unused include files for ion_page_pool.c staging: android: ion: Nuke ion_page_pool_init staging: android: ion: Avoid NULL point in error path staging: android: ion: Remove lable debugfs_done staging: android: ion: Remove dead code in ion_page_pool_free staging: android: ion: Return void instead of int staging: android: ion: Cleanup ion_page_pool_alloc_pages staging: android: ion: Combine cache and uncache pools drivers/staging/android/ion/ion.c | 20 ++----- drivers/staging/android/ion/ion.h | 22 +------- drivers/staging/android/ion/ion_page_pool.c | 33 ++---------- drivers/staging/android/ion/ion_system_heap.c | 76 +++++---------------------- 4 files changed, 24 insertions(+), 127 deletions(-) -- 1.7.12.4