Skip to content

Commit

Permalink
staging: csr: csr_wifi_hip_unifi_signal_names: fix brackets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hojung Youn authored and Greg Kroah-Hartman committed Nov 6, 2012
1 parent 279dda6 commit a90770e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/csr/csr_wifi_hip_unifi_signal_names.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@

#include "csr_wifi_hip_unifi.h"

struct sig_name
{
struct sig_name {
s16 id;
const char *name;
};
Expand All @@ -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";
}
Expand Down

0 comments on commit a90770e

Please sign in to comment.