diff options
author | Mahati Chamarthy <mahati.chamarthy@gmail.com> | 2014-09-19 21:06:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-20 00:14:30 (GMT) |
commit | 13402f7b76223e7f50ab42c82aac4788940c8277 (patch) | |
tree | fd33c8457c99f92dc2bd6ff312eae1589a71fb4c /drivers/staging | |
parent | 5110e40260d03fdb2d93a94fec06a31b81d57b0b (diff) | |
download | linux-13402f7b76223e7f50ab42c82aac4788940c8277.tar.xz |
Staging: rtl8192e: Fix else is not useful warning
This fixes the following checkpatch.pl warning:
WARNING: else is not generally useful after a break or return
Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_TSProc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 6c0158e..53fe27f 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -281,8 +281,7 @@ static struct ts_common_info *SearchAdmitTRStream(struct rtllib_device *ieee, if (pRet && &pRet->List != psearch_list) return pRet ; - else - return NULL; + return NULL; } static void MakeTSEntry(struct ts_common_info *pTsCommonInfo, u8 *Addr, |