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

staging: wilc1000: linux_mon: remove blank line before a close brace '}'

This patch removes blank lines before a close brace found by
checkpatch.pl
CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: default avatarChaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 57054914
...@@ -119,7 +119,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size) ...@@ -119,7 +119,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)
(1 << IEEE80211_RADIOTAP_RATE); /* | */ (1 << IEEE80211_RADIOTAP_RATE); /* | */
PRINT_INFO(HOSTAPD_DBG, "Presentflags %d\n", hdr->hdr.it_present); PRINT_INFO(HOSTAPD_DBG, "Presentflags %d\n", hdr->hdr.it_present);
hdr->rate = 5; /* txrate->bitrate / 5; */ hdr->rate = 5; /* txrate->bitrate / 5; */
} }
...@@ -132,8 +131,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size) ...@@ -132,8 +131,6 @@ void WILC_WFI_monitor_rx(u8 *buff, u32 size)
memset(skb->cb, 0, sizeof(skb->cb)); memset(skb->cb, 0, sizeof(skb->cb));
netif_rx(skb); netif_rx(skb);
} }
struct tx_complete_mon_data { struct tx_complete_mon_data {
...@@ -183,7 +180,6 @@ static int mon_mgmt_tx(struct net_device *dev, const u8 *buf, size_t len) ...@@ -183,7 +180,6 @@ static int mon_mgmt_tx(struct net_device *dev, const u8 *buf, size_t len)
PRINT_ER("Failed to allocate memory for mgmt_tx buff\n"); PRINT_ER("Failed to allocate memory for mgmt_tx buff\n");
kfree(mgmt_tx); kfree(mgmt_tx);
return -EFAULT; return -EFAULT;
} }
mgmt_tx->size = len; mgmt_tx->size = len;
...@@ -325,7 +321,6 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi ...@@ -325,7 +321,6 @@ struct net_device *WILC_WFI_init_mon_interface(const char *name, struct net_devi
if (!wilc_wfi_mon) { if (!wilc_wfi_mon) {
PRINT_ER("failed to allocate memory\n"); PRINT_ER("failed to allocate memory\n");
return NULL; return NULL;
} }
wilc_wfi_mon->type = ARPHRD_IEEE80211_RADIOTAP; wilc_wfi_mon->type = ARPHRD_IEEE80211_RADIOTAP;
...@@ -379,5 +374,4 @@ int WILC_WFI_deinit_mon_interface(void) ...@@ -379,5 +374,4 @@ int WILC_WFI_deinit_mon_interface(void)
wilc_wfi_mon = NULL; wilc_wfi_mon = NULL;
} }
return 0; return 0;
} }
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