diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-01-04 17:22:14 +0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-05 18:50:05 +0100 |
commit | c27fb88256fcc51b0136e86c4392c86f590c6daa (patch) | |
tree | 1b863af1535518600a6bbc0239c16979ada0ef8a /drivers/staging/rtl8188eu/os_dep | |
parent | 746fb137c1d30fdc690df3df80bf12ff0dcc4fd2 (diff) | |
download | op-kernel-dev-c27fb88256fcc51b0136e86c4392c86f590c6daa.zip op-kernel-dev-c27fb88256fcc51b0136e86c4392c86f590c6daa.tar.gz |
staging:r8188eu: remove RTW_STATUS_CODE()
RTW_STATUS_CODE() does not used. Remove it.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/osdep_service.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/osdep_service.c b/drivers/staging/rtl8188eu/os_dep/osdep_service.c index 51abfe9..3be8725 100644 --- a/drivers/staging/rtl8188eu/os_dep/osdep_service.c +++ b/drivers/staging/rtl8188eu/os_dep/osdep_service.c @@ -21,18 +21,6 @@ #include <linux/vmalloc.h> #include <rtw_ioctl_set.h> -/* - * 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) { return kmalloc(sz, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL); |