Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754781AbbKHHCl (ORCPT ); Sun, 8 Nov 2015 02:02:41 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:34910 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752771AbbKHHCj (ORCPT ); Sun, 8 Nov 2015 02:02:39 -0500 Subject: Re: [PATCH 12/12] staging: rtl8188eu: remove unused RTW_STATUS_CODE function To: devel@driverdev.osuosl.org References: <20151108065317.GA1200@alpha.sfu-kras.ru> Cc: Greg Kroah-Hartman , Vaishali Thakkar , Jakub Sitnicki , Anish Bhatt , Joe Perches , Nicholas Mc Guire , Alexey Khoroshilov , =?UTF-8?Q?R=c3=a9my_Oudompheng?= , Sudip Mukherjee , Shraddha Barke , linux-kernel@vger.kernel.org From: Ivan Safonov Message-ID: <563EF3F2.3040807@gmail.com> Date: Sun, 8 Nov 2015 14:04:18 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151108065317.GA1200@alpha.sfu-kras.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1854 Lines: 51 On 11/08/2015 01:53 PM, Ivan Safonov wrote: > This driver is only for the Linux kernel. > > Signed-off-by: Ivan Safonov > --- > drivers/staging/rtl8188eu/include/osdep_service.h | 2 -- > drivers/staging/rtl8188eu/os_dep/osdep_service.c | 11 ----------- > 2 files changed, 13 deletions(-) > > diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h > index 22de53d..194e56d 100644 > --- a/drivers/staging/rtl8188eu/include/osdep_service.h > +++ b/drivers/staging/rtl8188eu/include/osdep_service.h > @@ -75,8 +75,6 @@ static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) > netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3)); > } > > -int RTW_STATUS_CODE(int error_code); > - > #define rtw_update_mem_stat(flag, sz) do {} while (0) > u8 *_rtw_malloc(u32 sz); > #define rtw_malloc(sz) _rtw_malloc((sz)) > diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c > index d87b547..9606214 100644 > --- a/drivers/staging/rtl8188eu/os_dep/osdep_service.c > +++ b/drivers/staging/rtl8188eu/os_dep/osdep_service.c > @@ -28,17 +28,6 @@ > #include > #include > > -/* > -* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE > -* @return: one of RTW_STATUS_CODE > -*/ > -inline int RTW_STATUS_CODE(int error_code) > -{ > - if (error_code >= 0) > - return _SUCCESS; > - return _FAIL; > -} > - > u8 *_rtw_malloc(u32 sz) > { > u8 *pbuf = NULL; Oops, I am sorry. -- 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/