staging: rtl8723au: usb_osintf.h isn't used for anything - get rid of it
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:25 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:27 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ioctl_set.c
drivers/staging/rtl8723au/hal/usb_halinit.c
drivers/staging/rtl8723au/include/usb_osintf.h [deleted file]
drivers/staging/rtl8723au/os_dep/os_intfs.c
drivers/staging/rtl8723au/os_dep/usb_intf.c

index abf30c5ce10af5ea7eafa79c60008345bd00455c..eb4aa925287a9924acfc5f911e69b4922d82446c 100644 (file)
@@ -19,7 +19,6 @@
 #include <rtw_ioctl_set.h>
 #include <hal_intf.h>
 
-#include <usb_osintf.h>
 #include <usb_ops.h>
 #include <linux/ieee80211.h>
 
index 538eacc51ed28c376b713db138b11e853503c955..e345634ecb257b0a22be3f2e7b30e389cbb18656 100644 (file)
@@ -25,7 +25,6 @@
 #include <linux/ieee80211.h>
 
 #include <usb_ops.h>
-#include <usb_osintf.h>
 
 static void
 _ConfigChipOutEP(struct rtw_adapter *pAdapter, u8 NumOutPipe)
diff --git a/drivers/staging/rtl8723au/include/usb_osintf.h b/drivers/staging/rtl8723au/include/usb_osintf.h
deleted file mode 100644 (file)
index 4608766..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/******************************************************************************
- *
- * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- ******************************************************************************/
-#ifndef __USB_OSINTF_H
-#define __USB_OSINTF_H
-
-#include <osdep_service.h>
-#include <drv_types.h>
-#include <usb_vendor_req.h>
-
-#define USBD_HALTED(_status) ((u32)(_status) >> 30 == 3)
-
-#endif
index 1a253a0a372ed29cd483c6d781893b11c0d3cb6e..afab4625b041e5d783503ea1dc8a88f63ebcc562 100644 (file)
@@ -21,7 +21,6 @@
 #include <hal_intf.h>
 #include <rtw_version.h>
 
-#include <usb_osintf.h>
 #include <rtl8723a_hal.h>
 
 #include <linux/version.h>
index 1e87c681c7bdafc41982beb5a886a5cf81acb9f1..6077e37850a942407f5df684d4f69e1eacbed9ef 100644 (file)
@@ -23,7 +23,6 @@
 #include <osdep_intf.h>
 #include <usb_vendor_req.h>
 #include <usb_ops.h>
-#include <usb_osintf.h>
 #include <rtl8723a_hal.h>
 
 static int rtw_suspend(struct usb_interface *intf, pm_message_t message);