iwlegacy: avoid warning about missing braces
authorArnd Bergmann <arnd@arndb.de>
Thu, 19 May 2016 07:58:49 +0000 (09:58 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jun 2016 14:26:22 +0000 (17:26 +0300)
commit2cce76c3fab410520610a7d2f52faebc3cfcf843
tree0f56bfd4d3b7727d17805561473671eb6d1c9872
parent65c71efe1c59c111a7b9e6d9540f111663b975b2
iwlegacy: avoid warning about missing braces

gcc-6 warns about code in il3945_hw_txq_ctx_free() being
somewhat ambiguous:

drivers/net/wireless/intel/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]

This adds a set of curly braces to avoid the warning.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlegacy/3945.c