Messages in this thread Patch in this message | | | From | Wang Hai <> | Subject | [PATCH net-next] net: wimax: i2400m: fix 'msg_skb' kernel-doc warning in i2400m_msg_to_dev() | Date | Tue, 8 Sep 2020 22:03:33 +0800 |
| |
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> --- drivers/net/wimax/i2400m/control.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/net/wimax/i2400m/control.c b/drivers/net/wimax/i2400m/control.c index 9afed3b133d3..8df98757d901 100644 --- a/drivers/net/wimax/i2400m/control.c +++ b/drivers/net/wimax/i2400m/control.c @@ -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 -- 2.17.1
| |