]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
airo: remove unused variables len and dev and clean up formatting
authorColin Ian King <colin.king@canonical.com>
Mon, 9 Jul 2018 13:38:43 +0000 (14:38 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:17:19 +0000 (10:17 +0300)
commitd01a4e04dab7fa1002722e5d09cfd9c037767348
treea029c629738bfe5251829ef8baf15627074e820a
parent2ddd82eef2ef900dd1505888348ef90ef51481a1
airo: remove unused variables len and dev and clean up formatting

Variables len and dev assigned values but are never used hence they
are redundant and can be removed.  Also add in white space in for-loop
and remove some { } braces on if statement.

Cleans up clang warnings:
warning: variable 'len' set but not used [-Wunused-but-set-variable]
warning: variable 'dev' set but not used [-Wunused-but-set-variable]

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