diff options
author | Leo Kim <leo.kim@atmel.com> | 2015-11-06 02:13:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-11-16 04:02:47 (GMT) |
commit | 076ef657983d79221cb6f1c9628af2477ead6214 (patch) | |
tree | 7fc2b42aea69af785f418fbb0f94294633a8be65 | |
parent | 7eb17b8d4b49660d2e5c85b234194a0eb3b4e284 (diff) | |
download | linux-076ef657983d79221cb6f1c9628af2477ead6214.tar.xz |
staging: wilc1000: fixes braces {} are not necessary for any arm of this statement
This patch fixes the warning reported by checkpatch.pl
for braces {} are not necessary for any arm of this statement
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 3b097c1..d7834c5 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -1457,11 +1457,10 @@ static int wilc_wlan_cfg_commit(int type, u32 drvHandler) int seq_no = p->cfg_seq_no % 256; int driver_handler = (u32)drvHandler; - if (type == WILC_CFG_SET) { + if (type == WILC_CFG_SET) cfg->wid_header[0] = 'W'; - } else { + else cfg->wid_header[0] = 'Q'; - } cfg->wid_header[1] = seq_no; cfg->wid_header[2] = (u8)total_len; cfg->wid_header[3] = (u8)(total_len >> 8); |