]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rsi: remove redundant duplicate assignment of buffer_size
authorColin Ian King <colin.king@canonical.com>
Wed, 14 Mar 2018 14:12:39 +0000 (14:12 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Mar 2018 08:53:22 +0000 (11:53 +0300)
commita31f9314114cc884b9979c16b6e147e37ac729d6
treefb20385acb0085b517a93ddd2be7215e6dc3441d
parent44f98a9332e4b97b0215a1c38e647bc0cd8e5a5f
rsi: remove redundant duplicate assignment of buffer_size

Variable buffer_size is re-assigned the same value, this duplicated
assignment is redundant and can be removed.

Cleans up clang warning:
drivers/net/wireless/rsi/rsi_91x_usb.c:140:4: warning: Value stored
to 'buffer_size' is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_usb.c