]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: rtl8188eu: rtw_io.h: Remove unused structures and macros
authornavin patidar <navin.patidar@gmail.com>
Wed, 11 Jun 2014 17:21:39 +0000 (22:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:34:02 +0000 (15:34 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/drv_types.h
drivers/staging/rtl8188eu/include/rtw_io.h

index 974f12fdf5083fdb91667c337d378d39d4d67534..8063caaace44bbbe37fb2acf5aeb2a6e038e2d72 100644 (file)
@@ -196,7 +196,6 @@ struct adapter {
        struct  mlme_ext_priv mlmeextpriv;
        struct  cmd_priv        cmdpriv;
        struct  evt_priv        evtpriv;
-       struct  io_priv iopriv;
        struct  xmit_priv       xmitpriv;
        struct  recv_priv       recvpriv;
        struct  sta_priv        stapriv;
index 86431b8ae861fe903b99c7c6eb579d69eb164306..41e3dd8bc7f2891fc6dbe3df7a53d3483921e551 100644 (file)
 #include <linux/usb.h>
 #include <linux/usb/ch9.h>
 
-#define rtw_usb_buffer_alloc(dev, size, dma)                           \
-       usb_alloc_coherent((dev), (size), (in_interrupt() ?             \
-                          GFP_ATOMIC : GFP_KERNEL), (dma))
-#define rtw_usb_buffer_free(dev, size, addr, dma)                      \
-       usb_free_coherent((dev), (size), (addr), (dma))
-
-
-struct intf_priv;
-struct intf_hdl;
-
-struct _io_ops {
-};
-
-struct io_req {
-       struct list_head list;
-       u32     addr;
-       u32     val;
-       u32     command;
-       u32     status;
-       u8      *pbuf;
-       struct semaphore sema;
-
-       void (*_async_io_callback)(struct adapter *padater,
-                                  struct io_req *pio_req, u8 *cnxt);
-       u8 *cnxt;
-};
-
-struct intf_hdl {
-       struct adapter *padapter;
-       struct dvobj_priv *pintf_dev;
-       struct _io_ops  io_ops;
-};
-
-/*
-Below is the data structure used by _io_handler
-*/
-
-struct io_priv {
-       struct adapter *padapter;
-       struct intf_hdl intf;
-};
-
 u8 usb_read8(struct adapter *adapter, u32 addr);
 u16 usb_read16(struct adapter *adapter, u32 addr);
 u32 usb_read32(struct adapter *adapter, u32 addr);