Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222AbbGANsL (ORCPT ); Wed, 1 Jul 2015 09:48:11 -0400 Received: from sender153-mail.zoho.com ([74.201.84.153]:22317 "EHLO sender153-mail.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754232AbbGANsD (ORCPT ); Wed, 1 Jul 2015 09:48:03 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:references:to:cc:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=rDMnMa6DKfx//Ny6WVVPRJ57MdRCvySI0X0KsQSlZVjkECT/1hBUZOsesOIJXP98bfXIr2bjMGvi nWSdT3mUUdDeHaS3hANL7BahD0f/y6XFT9ridLU8JeBh5Ey/aJbF Subject: [PATCH v2 3/3] Staging: android: uapi: Fix coding style typedef issue References: <5593EDBF.6010008@zoho.com> To: gregkh@linuxfoundation.org, arve@android.com, riandrews@android.com, sumit.semwal@linaro.org, carlos@cgarcia.org Cc: "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org From: Sohny Thomas X-Forwarded-Message-Id: <5593EDBF.6010008@zoho.com> Message-ID: <5593EF8E.9020002@zoho.com> Date: Wed, 1 Jul 2015 19:17:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <5593EDBF.6010008@zoho.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1394 Lines: 58 As per checkpatch.pl remove unnecessary typedef Here ion_user_handle_t was used only in the header . Signed-of-by: Sohny Thomas --- drivers/staging/android/uapi/ion.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h index 68a14b4..9897403 100644 --- a/drivers/staging/android/uapi/ion.h +++ b/drivers/staging/android/uapi/ion.h @@ -20,7 +20,6 @@ #include #include -typedef int ion_user_handle_t; /** * enum ion_heap_types - list of all possible types of heaps @@ -88,7 +87,7 @@ struct ion_allocation_data { size_t align; unsigned int heap_id_mask; unsigned int flags; - ion_user_handle_t handle; + int handle; }; /** @@ -102,7 +101,7 @@ struct ion_allocation_data { * provides the file descriptor and the kernel returns the handle. */ struct ion_fd_data { - ion_user_handle_t handle; + int handle; int fd; }; @@ -111,7 +110,7 @@ struct ion_fd_data { * @handle: a handle */ struct ion_handle_data { - ion_user_handle_t handle; + int handle; }; /** -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/