diff options
author | Bob Copeland <me@bobcopeland.com> | 2016-06-02 08:43:50 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-06-14 15:18:09 +0300 |
commit | deb85bb1dadf8b4aaa5b33497766dc3f3e4b530e (patch) | |
tree | 72600486cb576a3a55824ff2c8a554bae1099571 /drivers/net/wireless/ath/ath5k/debug.h | |
parent | 8e100354a985e7e9d547684f1038a47e109a0158 (diff) |
ath5k: fix misplaced default label in sifs switch
In this switch statement, the default case does not always assign
sifs. In practice, ah->ah_bwmode cannot take values besides the
other labels, so this is not an actual problem, but it looks odd
and smatch complains thus:
ath5k_hw_get_default_sifs() warn: missing break? reassigning 'sifs'
Silence the warning by moving default label up a line.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/debug.h')
0 files changed, 0 insertions, 0 deletions