]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8723au: Remove all references to unused io_queue
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sat, 26 Apr 2014 16:55:25 +0000 (18:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Apr 2014 17:16:18 +0000 (10:16 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/drv_types.h
drivers/staging/rtl8723au/include/rtw_io.h

index de25e1a5eee86ccc2b30e667dffeedd0367538dc..99ede3fed8d579d953263d296f563cbf095e21fe 100644 (file)
@@ -242,7 +242,6 @@ struct rtw_adapter {
        struct  mlme_ext_priv mlmeextpriv;
        struct  cmd_priv        cmdpriv;
        struct  evt_priv        evtpriv;
-       /* struct       io_queue        *pio_queue; */
        struct  io_priv iopriv;
        struct  xmit_priv       xmitpriv;
        struct  recv_priv       recvpriv;
index 2ab31fb6d9aa40aaf1bd96faa7c3d64cf648122d..f11557cbdfd83219263edfd9c46177e1361f21e8 100644 (file)
@@ -98,7 +98,6 @@
 
 struct intf_priv;
 struct intf_hdl;
-struct io_queue;
 
 struct _io_ops
 {
@@ -114,8 +113,6 @@ struct _io_ops
                void (*_read_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
                void (*_write_mem)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *pmem);
 
-               void (*_sync_irp_protocol_rw)(struct io_queue *pio_q);
-
                u32 (*_read_interrupt)(struct intf_hdl *pintfhdl, u32 addr);
 
                u32 (*_read_port)(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, struct recv_buf *rbuf);
@@ -265,16 +262,6 @@ Below is the data structure used by _io_handler
 
 */
 
-struct io_queue {
-       spinlock_t      lock;
-       struct list_head free_ioreqs;
-       struct list_head pending;               /* The io_req list that will be served in the single protocol read/write. */
-       struct list_head processing;
-       u8      *free_ioreqs_buf; /*  4-byte aligned */
-       u8      *pallocated_free_ioreqs_buf;
-       struct  intf_hdl        intf;
-};
-
 struct io_priv{
 
        struct rtw_adapter *padapter;
@@ -283,13 +270,6 @@ struct io_priv{
 
 };
 
-uint ioreq_flush(struct rtw_adapter *adapter, struct io_queue *ioqueue);
-void sync_ioreq_enqueue(struct io_req *preq,struct io_queue *ioqueue);
-uint sync_ioreq_flush(struct rtw_adapter *adapter, struct io_queue *ioqueue);
-
-uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
-struct io_req *alloc_ioreq(struct io_queue *pio_q);
-
 uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl);
 void unregister_intf_hdl(struct intf_hdl *pintfhdl);
 
@@ -358,13 +338,6 @@ int dbg_rtw_writeN23a(struct rtw_adapter *adapter, u32 addr ,u32 length , u8 *da
 #define rtw_write_port_cancel(adapter) _rtw_write_port23a_cancel((adapter))
 #endif /* DBG_IO */
 
-uint alloc_io_queue(struct rtw_adapter *adapter);
-void free_io_queue(struct rtw_adapter *adapter);
-void async_bus_io(struct io_queue *pio_q);
-void bus_sync_io(struct io_queue *pio_q);
-u32 _ioreq2rwmem(struct io_queue *pio_q);
-void dev_power_down(struct rtw_adapter * Adapter, u8 bpwrup);
-
 #define PlatformEFIOWrite1Byte(_a,_b,_c)               \
        rtw_write8(_a,_b,_c)
 #define PlatformEFIOWrite2Byte(_a,_b,_c)               \