Nathan Chancellor f613e4803d rsi: Remove unnecessary boolean condition
Clang warns that the address of a pointer will always evaluated as true
in a boolean context.

drivers/net/wireless/rsi/rsi_91x_mac80211.c:927:50: warning: address of
array 'key->key' will always evaluate to 'true'
[-Wpointer-bool-conversion]
        if (vif->type == NL80211_IFTYPE_STATION && key->key &&
                                                ~~ ~~~~~^~~
1 warning generated.

Link: https://github.com/ClangBuiltLinux/linux/issues/136
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-10-01 18:31:10 +03:00
..
2018-03-27 10:11:58 +03:00
2018-03-13 18:36:57 +02:00
2017-09-25 11:25:23 +03:00
2018-03-13 18:36:57 +02:00
2018-04-24 20:23:55 +03:00
2018-07-31 10:15:53 +03:00
2018-07-31 10:15:53 +03:00