aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahati Chamarthy2014-09-19 23:56:02 +0530
committerGreg Kroah-Hartman2014-09-19 17:14:30 -0700
commit5110e40260d03fdb2d93a94fec06a31b81d57b0b (patch)
tree65ead1dce1153f571bb41e8e60ce407217d9e8df
parent59422a74b55c616d500c3be721077ff0d00f7fb0 (diff)
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: Mahati Chamarthy <mahati.chamarthy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192e/rtl819x_BAProc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c
index 7d67f8438c4a..6da57847a533 100644
--- a/drivers/staging/rtl8192e/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c
@@ -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"
" %s()\n", __func__);
}
- return;
}
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
RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function"
" %s()\n", __func__);
- return;
}
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
RTLLIB_DEBUG(RTLLIB_DL_ERR, "alloc skb error in function"
" %s()\n", __func__);
- return ;
}
int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb)
@@ -566,5 +563,4 @@ void RxBaInactTimeout(unsigned long data)
rtllib_send_DELBA(ieee, pRxTs->TsCommonInfo.Addr,
&pRxTs->RxAdmittedBARecord, RX_DIR,
DELBA_REASON_TIMEOUT);
- return ;
}