]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: wimax: i2400m: fix 'msg_skb' kernel-doc warning in i2400m_msg_to_dev()
authorWang Hai <wanghai38@huawei.com>
Tue, 8 Sep 2020 14:03:33 +0000 (22:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 03:04:27 +0000 (20:04 -0700)
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.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wimax/i2400m/control.c

index 9afed3b133d3f231a14ee83afb4a4017feb0f4b7..8df98757d901b56416787c1e4e134668e48f27cf 100644 (file)
@@ -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