Skip to contentSkip to conversation

net: wimax: i2400m: fix 'msg_skb' kernel-doc warning in i2400m_msg_to_dev()

PATCH Applied Wang Hai 2 participants 2 messages Sep 8, 2020 – Sep 9, 2020

Subsystems (2)
lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 net: wimax: i2400m: fix 'msg_skb' kernel-doc warning in i2400m_msg_to_dev()

Fixes the following W=1 kernel build warning(s):

drivers/net/wimax/i2400m/control.c:709: warning: Excess function parameter 'msg_skb' description in 'i2400m_msg_to_dev'

This parameter is not in use. Remove it.

---
 drivers/net/wimax/i2400m/control.c | 2 --
 1 file changed, 2 deletions(-)
drivers/net/wimax/i2400m/control.c +0 -2
index 9afed3b133d3..8df98757d901 100644
@@ -656,8 +656,6 @@ void i2400m_msg_to_dev_cancel_wait(struct i2400m *i2400m, int code)
  *
  * @i2400m: device descriptor
  *
- * @msg_skb: an skb  *
- *
  * @buf: pointer to the buffer containing the message to be sent; it
  *           has to start with a &struct i2400M_l3l4_hdr and then
  *           followed by the payload. Once this function returns, the
Signature · 1 line
2.17.1