diff options
author | Hojung Youn <amoc.yn@gmail.com> | 2012-11-03 06:10:18 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-06 09:32:17 +0100 |
commit | a90770e0c33dd94375a81836daa91839f51a81ce (patch) | |
tree | af9f6a6b8e805f77fe51a0d9838aba8fa3968591 /drivers/staging/csr | |
parent | 279dda68e2dcb19c46cb62dd2899d8dac6a9b7aa (diff) | |
download | linux-a90770e0c33dd94375a81836daa91839f51a81ce.tar.bz2 |
staging: csr: csr_wifi_hip_unifi_signal_names: fix brackets
Fixed brackets' positions in the csr_wifi_hip_unifi_signal_names.c file
that were identified by checkpatch.pl tool. Some brackets are removed
which are not needed by the rule of CodingStyle documentation.
Signed-off-by: Hojung Youn <amoc.yn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr')
-rw-r--r-- | drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c b/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c index ddccf91bd13e..df32580bbfda 100644 --- a/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c +++ b/drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c @@ -10,8 +10,7 @@ #include "csr_wifi_hip_unifi.h" -struct sig_name -{ +struct sig_name { s16 id; const char *name; }; @@ -32,13 +31,9 @@ static const struct sig_name Unifi_bulkcmd_names[] = { const char* lookup_bulkcmd_name(u16 id) { if (id < 9) - { return Unifi_bulkcmd_names[id].name; - } if (id == 15) - { return "Padding"; - } return "UNKNOWN"; } |