Commit 5110e402 authored by Mahati Chamarthy's avatar Mahati Chamarthy Committed by Greg Kroah-Hartman

Staging: rtl8192e: Fix void function return statements style warning

This fixes the following checkpatch.pl warnings:
WARNING:  void function return statements are not generally useful
Signed-off-by: default avatarMahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 59422a74
...@@ -206,7 +206,6 @@ static void rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst, ...@@ -206,7 +206,6 @@ static void rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst,
RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function" RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function"
" %s()\n", __func__); " %s()\n", __func__);
} }
return;
} }
static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst,
...@@ -220,7 +219,6 @@ static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, ...@@ -220,7 +219,6 @@ static void rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst,
else else
RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function" RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function"
" %s()\n", __func__); " %s()\n", __func__);
return;
} }
static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst,
...@@ -235,7 +233,6 @@ static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, ...@@ -235,7 +233,6 @@ static void rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst,
else else
RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function" RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function"
" %s()\n", __func__); " %s()\n", __func__);
return ;
} }
int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
...@@ -566,5 +563,4 @@ void RxBaInactTimeout(unsigned long data) ...@@ -566,5 +563,4 @@ void RxBaInactTimeout(unsigned long data)
rtllib_send_DELBA(ieee, pRxTs->TsCommonInfo.Addr, rtllib_send_DELBA(ieee, pRxTs->TsCommonInfo.Addr,
&pRxTs->RxAdmittedBARecord, RX_DIR, &pRxTs->RxAdmittedBARecord, RX_DIR,
DELBA_REASON_TIMEOUT); DELBA_REASON_TIMEOUT);
return ;
} }
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