mt76: remove no longer used routine declarations
Remove following routine declarations that are no longer used
after commit cfca5f693c5d ("mt76usb: remove usb_mcu.c"):
- mt76u_mcu_complete_urb
- mt76u_deinit
- mt76u_buf_free
- mt76u_submit_urb
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
200abe6a96
commit
6cad8240a5
2 changed files with 5 additions and 13 deletions
|
|
@ -750,11 +750,6 @@ int mt76u_vendor_request(struct mt76_dev *dev, u8 req,
|
|||
void mt76u_single_wr(struct mt76_dev *dev, const u8 req,
|
||||
const u16 offset, const u32 val);
|
||||
int mt76u_init(struct mt76_dev *dev, struct usb_interface *intf);
|
||||
void mt76u_deinit(struct mt76_dev *dev);
|
||||
void mt76u_buf_free(struct mt76u_buf *buf);
|
||||
int mt76u_submit_buf(struct mt76_dev *dev, int dir, int index,
|
||||
struct mt76u_buf *buf, gfp_t gfp,
|
||||
usb_complete_t complete_fn, void *context);
|
||||
int mt76u_submit_rx_buffers(struct mt76_dev *dev);
|
||||
int mt76u_alloc_queues(struct mt76_dev *dev);
|
||||
void mt76u_stop_queues(struct mt76_dev *dev);
|
||||
|
|
@ -768,6 +763,4 @@ void mt76_mcu_rx_event(struct mt76_dev *dev, struct sk_buff *skb);
|
|||
struct sk_buff *mt76_mcu_get_response(struct mt76_dev *dev,
|
||||
unsigned long expires);
|
||||
|
||||
void mt76u_mcu_complete_urb(struct urb *urb);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -361,7 +361,7 @@ mt76u_buf_alloc(struct mt76_dev *dev, struct mt76u_buf *buf)
|
|||
return mt76u_refill_rx(dev, q, buf, MT_SG_MAX_SIZE, GFP_KERNEL);
|
||||
}
|
||||
|
||||
void mt76u_buf_free(struct mt76u_buf *buf)
|
||||
static void mt76u_buf_free(struct mt76u_buf *buf)
|
||||
{
|
||||
struct urb *urb = buf->urb;
|
||||
int i;
|
||||
|
|
@ -374,7 +374,6 @@ void mt76u_buf_free(struct mt76u_buf *buf)
|
|||
|
||||
usb_free_urb(buf->urb);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mt76u_buf_free);
|
||||
|
||||
static void
|
||||
mt76u_fill_bulk_urb(struct mt76_dev *dev, int dir, int index,
|
||||
|
|
@ -395,9 +394,10 @@ mt76u_fill_bulk_urb(struct mt76_dev *dev, int dir, int index,
|
|||
complete_fn, context);
|
||||
}
|
||||
|
||||
int mt76u_submit_buf(struct mt76_dev *dev, int dir, int index,
|
||||
struct mt76u_buf *buf, gfp_t gfp,
|
||||
usb_complete_t complete_fn, void *context)
|
||||
static int
|
||||
mt76u_submit_buf(struct mt76_dev *dev, int dir, int index,
|
||||
struct mt76u_buf *buf, gfp_t gfp,
|
||||
usb_complete_t complete_fn, void *context)
|
||||
{
|
||||
mt76u_fill_bulk_urb(dev, dir, index, buf, complete_fn,
|
||||
context);
|
||||
|
|
@ -405,7 +405,6 @@ int mt76u_submit_buf(struct mt76_dev *dev, int dir, int index,
|
|||
|
||||
return usb_submit_urb(buf->urb, gfp);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mt76u_submit_buf);
|
||||
|
||||
static inline struct mt76u_buf
|
||||
*mt76u_get_next_rx_entry(struct mt76_queue *q)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue