Drivers: Staging: CSR: fixed coding style errors in csr_wifi_router_free_upstream_contents.c
Originally there were a lot of coding style errors so, I cleaned up the coding style errors including braces and indentations. Signed-off-by: Sangho Yi <antiroot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ae485c27c7
commit
936a8b4c29
@ -27,24 +27,18 @@
|
||||
void CsrWifiRouterFreeUpstreamMessageContents(u16 eventClass, void *message)
|
||||
{
|
||||
if (eventClass != CSR_WIFI_ROUTER_PRIM)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (NULL == message)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
switch (*((CsrWifiRouterPrim *) message))
|
||||
{
|
||||
switch (*((CsrWifiRouterPrim *) message)) {
|
||||
case CSR_WIFI_ROUTER_MA_PACKET_IND:
|
||||
{
|
||||
CsrWifiRouterMaPacketInd *p = (CsrWifiRouterMaPacketInd *)message;
|
||||
CsrWifiRouterMaPacketInd *p =
|
||||
(CsrWifiRouterMaPacketInd *) message;
|
||||
kfree(p->frame);
|
||||
p->frame = NULL;
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user