Staging: rtl8192u: remove extra blank lines.

This patch removes blank lines in r8192U_wx.c that were flagged by
checkpatch.pl

Signed-off-by: Ben Marsh <bmarsh94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ben Marsh 2016-03-14 17:40:20 +01:00 committed by Greg Kroah-Hartman
parent 968b4e6bd3
commit 6c1c9f9d5a
1 changed files with 0 additions and 22 deletions

View File

@ -30,7 +30,6 @@
static const u32 rtl8180_rates[] = {1000000, 2000000, 5500000, 11000000, static const u32 rtl8180_rates[] = {1000000, 2000000, 5500000, 11000000,
6000000, 9000000, 12000000, 18000000, 24000000, 36000000, 48000000, 54000000}; 6000000, 9000000, 12000000, 18000000, 24000000, 36000000, 48000000, 54000000};
#ifndef ENETDOWN #ifndef ENETDOWN
#define ENETDOWN 1 #define ENETDOWN 1
#endif #endif
@ -44,7 +43,6 @@ static int r8192_wx_get_freq(struct net_device *dev,
return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b);
} }
static int r8192_wx_get_mode(struct net_device *dev, struct iw_request_info *a, static int r8192_wx_get_mode(struct net_device *dev, struct iw_request_info *a,
union iwreq_data *wrqu, char *b) union iwreq_data *wrqu, char *b)
{ {
@ -53,8 +51,6 @@ static int r8192_wx_get_mode(struct net_device *dev, struct iw_request_info *a,
return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b);
} }
static int r8192_wx_get_rate(struct net_device *dev, static int r8192_wx_get_rate(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -64,8 +60,6 @@ static int r8192_wx_get_rate(struct net_device *dev,
return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra);
} }
static int r8192_wx_set_rate(struct net_device *dev, static int r8192_wx_set_rate(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -82,7 +76,6 @@ static int r8192_wx_set_rate(struct net_device *dev,
return ret; return ret;
} }
static int r8192_wx_set_rts(struct net_device *dev, static int r8192_wx_set_rts(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -148,7 +141,6 @@ static int r8192_wx_force_reset(struct net_device *dev,
} }
static int r8192_wx_set_rawtx(struct net_device *dev, static int r8192_wx_set_rawtx(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -301,7 +293,6 @@ static int rtl8180_wx_get_range(struct net_device *dev,
/* range->min_r_time; */ /* Minimal retry lifetime */ /* range->min_r_time; */ /* Minimal retry lifetime */
/* range->max_r_time; */ /* Maximal retry lifetime */ /* range->max_r_time; */ /* Maximal retry lifetime */
for (i = 0, val = 0; i < 14; i++) { for (i = 0, val = 0; i < 14; i++) {
/* Include only legal frequencies for some countries */ /* Include only legal frequencies for some countries */
@ -326,7 +317,6 @@ static int rtl8180_wx_get_range(struct net_device *dev,
return 0; return 0;
} }
static int r8192_wx_set_scan(struct net_device *dev, struct iw_request_info *a, static int r8192_wx_set_scan(struct net_device *dev, struct iw_request_info *a,
union iwreq_data *wrqu, char *b) union iwreq_data *wrqu, char *b)
{ {
@ -396,9 +386,6 @@ static int r8192_wx_set_essid(struct net_device *dev,
return ret; return ret;
} }
static int r8192_wx_get_essid(struct net_device *dev, static int r8192_wx_get_essid(struct net_device *dev,
struct iw_request_info *a, struct iw_request_info *a,
union iwreq_data *wrqu, char *b) union iwreq_data *wrqu, char *b)
@ -415,7 +402,6 @@ static int r8192_wx_get_essid(struct net_device *dev,
return ret; return ret;
} }
static int r8192_wx_set_freq(struct net_device *dev, struct iw_request_info *a, static int r8192_wx_set_freq(struct net_device *dev, struct iw_request_info *a,
union iwreq_data *wrqu, char *b) union iwreq_data *wrqu, char *b)
{ {
@ -439,7 +425,6 @@ static int r8192_wx_get_name(struct net_device *dev,
return ieee80211_wx_get_name(priv->ieee80211, info, wrqu, extra); return ieee80211_wx_get_name(priv->ieee80211, info, wrqu, extra);
} }
static int r8192_wx_set_frag(struct net_device *dev, static int r8192_wx_set_frag(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -493,7 +478,6 @@ static int r8192_wx_set_wap(struct net_device *dev,
} }
static int r8192_wx_get_wap(struct net_device *dev, static int r8192_wx_get_wap(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -503,7 +487,6 @@ static int r8192_wx_get_wap(struct net_device *dev,
return ieee80211_wx_get_wap(priv->ieee80211, info, wrqu, extra); return ieee80211_wx_get_wap(priv->ieee80211, info, wrqu, extra);
} }
static int r8192_wx_get_enc(struct net_device *dev, static int r8192_wx_get_enc(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *key) union iwreq_data *wrqu, char *key)
@ -695,7 +678,6 @@ static int r8192_wx_get_retry(struct net_device *dev,
wrqu->retry.value = priv->retry_data; wrqu->retry.value = priv->retry_data;
} }
return 0; return 0;
} }
@ -711,7 +693,6 @@ static int r8192_wx_get_sens(struct net_device *dev,
return 0; return 0;
} }
static int r8192_wx_set_sens(struct net_device *dev, static int r8192_wx_set_sens(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
union iwreq_data *wrqu, char *extra) union iwreq_data *wrqu, char *extra)
@ -862,7 +843,6 @@ static int dummy(struct net_device *dev, struct iw_request_info *a,
return -1; return -1;
} }
static iw_handler r8192_wx_handlers[] = { static iw_handler r8192_wx_handlers[] = {
NULL, /* SIOCSIWCOMMIT */ NULL, /* SIOCSIWCOMMIT */
r8192_wx_get_name, /* SIOCGIWNAME */ r8192_wx_get_name, /* SIOCGIWNAME */
@ -949,7 +929,6 @@ static const struct iw_priv_args r8192_private_args[] = {
}; };
static iw_handler r8192_private_handler[] = { static iw_handler r8192_private_handler[] = {
r8192_wx_set_crcmon, r8192_wx_set_crcmon,
r8192_wx_set_scan_type, r8192_wx_set_scan_type,
@ -985,7 +964,6 @@ struct iw_statistics *r8192_get_wireless_stats(struct net_device *dev)
return wstats; return wstats;
} }
struct iw_handler_def r8192_wx_handlers_def = { struct iw_handler_def r8192_wx_handlers_def = {
.standard = r8192_wx_handlers, .standard = r8192_wx_handlers,
.num_standard = ARRAY_SIZE(r8192_wx_handlers), .num_standard = ARRAY_SIZE(r8192_wx_handlers),