staging: rtl8192e: remove blank lines after '{'
Remove unnecessary blank lines after an open brace to adhere to the Linux kernel coding-style guidelines. These issues are reported by checkpatch.pl "CHECK: Blank lines aren't necessary after an open brace '{'" Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/e7cd8152e6986d361f81289868040889224bd1bf.1679696777.git.kamrankhadijadj@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ac74cf1fc
commit
6e1ce57787
@ -1167,7 +1167,6 @@ static int rtllib_rx_decrypt(struct rtllib_device *ieee, struct sk_buff *skb,
|
|||||||
if (crypt && !(fc & RTLLIB_FCTL_WEP) && !ieee->open_wep) {
|
if (crypt && !(fc & RTLLIB_FCTL_WEP) && !ieee->open_wep) {
|
||||||
if (/*ieee->ieee802_1x &&*/
|
if (/*ieee->ieee802_1x &&*/
|
||||||
rtllib_is_eapol_frame(ieee, skb, hdrlen)) {
|
rtllib_is_eapol_frame(ieee, skb, hdrlen)) {
|
||||||
|
|
||||||
/* pass unencrypted EAPOL frames even if encryption is
|
/* pass unencrypted EAPOL frames even if encryption is
|
||||||
* configured
|
* configured
|
||||||
*/
|
*/
|
||||||
@ -1207,7 +1206,6 @@ static void rtllib_rx_check_leave_lps(struct rtllib_device *ieee, u8 unicast,
|
|||||||
u8 nr_subframes)
|
u8 nr_subframes)
|
||||||
{
|
{
|
||||||
if (unicast) {
|
if (unicast) {
|
||||||
|
|
||||||
if (ieee->state == RTLLIB_LINKED) {
|
if (ieee->state == RTLLIB_LINKED) {
|
||||||
if (((ieee->link_detect_info.NumRxUnicastOkInPeriod +
|
if (((ieee->link_detect_info.NumRxUnicastOkInPeriod +
|
||||||
ieee->link_detect_info.NumTxOkInPeriod) > 8) ||
|
ieee->link_detect_info.NumTxOkInPeriod) > 8) ||
|
||||||
@ -1552,7 +1550,6 @@ static u8 qos_oui[QOS_OUI_LEN] = { 0x00, 0x50, 0xF2 };
|
|||||||
static int rtllib_verify_qos_info(struct rtllib_qos_information_element
|
static int rtllib_verify_qos_info(struct rtllib_qos_information_element
|
||||||
*info_element, int sub_type)
|
*info_element, int sub_type)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (info_element->elementID != QOS_ELEMENT_ID)
|
if (info_element->elementID != QOS_ELEMENT_ID)
|
||||||
return -1;
|
return -1;
|
||||||
if (info_element->qui_subtype != sub_type)
|
if (info_element->qui_subtype != sub_type)
|
||||||
@ -2696,7 +2693,6 @@ static void rtllib_rx_mgt(struct rtllib_device *ieee,
|
|||||||
ieee->last_rx_ps_time = jiffies;
|
ieee->last_rx_ps_time = jiffies;
|
||||||
|
|
||||||
switch (WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl))) {
|
switch (WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl))) {
|
||||||
|
|
||||||
case RTLLIB_STYPE_BEACON:
|
case RTLLIB_STYPE_BEACON:
|
||||||
netdev_dbg(ieee->dev, "received BEACON (%d)\n",
|
netdev_dbg(ieee->dev, "received BEACON (%d)\n",
|
||||||
WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl)));
|
WLAN_FC_GET_STYPE(le16_to_cpu(header->frame_ctl)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user