staging: ks7010: add blank line after variable declarations
Fixes warnings found by checkpatch Missing a blank line after declarations Signed-off-by: Johan Svensson <johan.svensson692@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2e41434673
commit
d30924a032
@ -35,6 +35,7 @@ static
|
|||||||
inline u8 get_BYTE(struct ks_wlan_private *priv)
|
inline u8 get_BYTE(struct ks_wlan_private *priv)
|
||||||
{
|
{
|
||||||
u8 data;
|
u8 data;
|
||||||
|
|
||||||
data = *(priv->rxp)++;
|
data = *(priv->rxp)++;
|
||||||
/* length check in advance ! */
|
/* length check in advance ! */
|
||||||
--(priv->rx_size);
|
--(priv->rx_size);
|
||||||
@ -45,6 +46,7 @@ static
|
|||||||
inline u16 get_WORD(struct ks_wlan_private *priv)
|
inline u16 get_WORD(struct ks_wlan_private *priv)
|
||||||
{
|
{
|
||||||
u16 data;
|
u16 data;
|
||||||
|
|
||||||
data = (get_BYTE(priv) & 0xff);
|
data = (get_BYTE(priv) & 0xff);
|
||||||
data |= ((get_BYTE(priv) << 8) & 0xff00);
|
data |= ((get_BYTE(priv) << 8) & 0xff00);
|
||||||
return data;
|
return data;
|
||||||
@ -54,6 +56,7 @@ static
|
|||||||
inline u32 get_DWORD(struct ks_wlan_private *priv)
|
inline u32 get_DWORD(struct ks_wlan_private *priv)
|
||||||
{
|
{
|
||||||
u32 data;
|
u32 data;
|
||||||
|
|
||||||
data = (get_BYTE(priv) & 0xff);
|
data = (get_BYTE(priv) & 0xff);
|
||||||
data |= ((get_BYTE(priv) << 8) & 0x0000ff00);
|
data |= ((get_BYTE(priv) << 8) & 0x0000ff00);
|
||||||
data |= ((get_BYTE(priv) << 16) & 0x00ff0000);
|
data |= ((get_BYTE(priv) << 16) & 0x00ff0000);
|
||||||
|
Loading…
Reference in New Issue
Block a user