mirror of
https://github.com/torvalds/linux.git
synced 2025-01-01 07:42:07 +00:00
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>
This commit is contained in:
parent
279dda68e2
commit
a90770e0c3
@ -10,8 +10,7 @@
|
|||||||
|
|
||||||
#include "csr_wifi_hip_unifi.h"
|
#include "csr_wifi_hip_unifi.h"
|
||||||
|
|
||||||
struct sig_name
|
struct sig_name {
|
||||||
{
|
|
||||||
s16 id;
|
s16 id;
|
||||||
const char *name;
|
const char *name;
|
||||||
};
|
};
|
||||||
@ -32,13 +31,9 @@ static const struct sig_name Unifi_bulkcmd_names[] = {
|
|||||||
const char* lookup_bulkcmd_name(u16 id)
|
const char* lookup_bulkcmd_name(u16 id)
|
||||||
{
|
{
|
||||||
if (id < 9)
|
if (id < 9)
|
||||||
{
|
|
||||||
return Unifi_bulkcmd_names[id].name;
|
return Unifi_bulkcmd_names[id].name;
|
||||||
}
|
|
||||||
if (id == 15)
|
if (id == 15)
|
||||||
{
|
|
||||||
return "Padding";
|
return "Padding";
|
||||||
}
|
|
||||||
|
|
||||||
return "UNKNOWN";
|
return "UNKNOWN";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user