Commit dbff11c9 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: csr: data_tx: fix up brace placement

This cleans up the brace placement coding issues.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7c5745cc
......@@ -22,9 +22,8 @@ uf_verify_m4(unifi_priv_t *priv, const unsigned char *packet, unsigned int lengt
u16 keyinfo;
if (length < (4 + 5 + 8 + 32 + 16 + 8 + 8 + 16 + 1 + 8)) {
if (length < (4 + 5 + 8 + 32 + 16 + 8 + 8 + 16 + 1 + 8))
return 1;
}
p += 8;
keyinfo = p[5] << 8 | p[6]; /* big-endian */
......@@ -40,9 +39,7 @@ uf_verify_m4(unifi_priv_t *priv, const unsigned char *packet, unsigned int lengt
) {
unifi_trace(priv, UDBG1, "uf_verify_m4: M4 detected \n");
return 0;
}
else
{
} else {
return 1;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment