Commit 57054914 authored by Chaehyun Lim's avatar Chaehyun Lim Committed by Greg Kroah-Hartman

staging: wilc1000: linux_mon: remove blank lines after open brace '{'

This patch remove blank lines after open brace found by checkpatch.pl
CHECK: Blank lines aren't necessary after an open brace '{'
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d8c7d2b3
...@@ -71,7 +71,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size) ...@@ -71,7 +71,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)
pkt_offset = GET_PKT_OFFSET(header); pkt_offset = GET_PKT_OFFSET(header);
if (pkt_offset & IS_MANAGMEMENT_CALLBACK) { if (pkt_offset & IS_MANAGMEMENT_CALLBACK) {
/* hostapd callback mgmt frame */ /* hostapd callback mgmt frame */
skb = dev_alloc_skb(size + sizeof(struct wilc_wfi_radiotap_cb_hdr)); skb = dev_alloc_skb(size + sizeof(struct wilc_wfi_radiotap_cb_hdr));
...@@ -103,7 +102,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size) ...@@ -103,7 +102,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)
} }
} else { } else {
skb = dev_alloc_skb(size + sizeof(struct wilc_wfi_radiotap_hdr)); skb = dev_alloc_skb(size + sizeof(struct wilc_wfi_radiotap_hdr));
if (skb == NULL) { if (skb == NULL) {
...@@ -145,7 +143,6 @@ struct tx_complete_mon_data { ...@@ -145,7 +143,6 @@ struct tx_complete_mon_data {
static void mgmt_tx_complete(void *priv, int status) static void mgmt_tx_complete(void *priv, int status)
{ {
struct tx_complete_mon_data *pv_data = (struct tx_complete_mon_data *)priv; struct tx_complete_mon_data *pv_data = (struct tx_complete_mon_data *)priv;
u8 *buf = pv_data->buff; u8 *buf = pv_data->buff;
...@@ -316,8 +313,6 @@ static const struct net_device_ops wilc_wfi_netdev_ops = { ...@@ -316,8 +313,6 @@ static const struct net_device_ops wilc_wfi_netdev_ops = {
*/ */
struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev) struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_device *real_dev)
{ {
u32 ret = 0; u32 ret = 0;
struct WILC_WFI_mon_priv *priv; struct WILC_WFI_mon_priv *priv;
......
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