summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl819x_HTProc.c
diff options
context:
space:
mode:
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>2015-05-31 20:19:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-01 06:33:21 +0900
commit35e33b0468ab3b3f5b610bfa4fc9367a3b7c09a8 (patch)
tree9384d98b884c86dc7649ccdf0fbad9fbb963a07e /drivers/staging/rtl8192e/rtl819x_HTProc.c
parent7bdfaa0abfdf4d3189b499585c09de6e941e93a3 (diff)
downloadlinux-35e33b0468ab3b3f5b610bfa4fc9367a3b7c09a8.tar.gz
linux-35e33b0468ab3b3f5b610bfa4fc9367a3b7c09a8.tar.xz
staging: rtl8192e: Fix LONG_LINE warnings
Fix most of simple LONG_LINE warnings. None of the changes should affect behaviour of code, so several modifications are included in this patch: - Code is reindented where needed - Local variable names are compacted (priv -> p) - Unnecessary casts are removed - Nested ifs are replaced with logical and - a = b = c = d expressions are split - Replace if/then series with clamp_t() - Removed unneeded scopes Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_HTProc.c')
-rw-r--r--drivers/staging/rtl8192e/rtl819x_HTProc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index 3edd5d1a05fb..dcf8db1a7d29 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -236,7 +236,8 @@ static bool HTIOTActIsDisableMCSTwoSpatialStream(struct rtllib_device *ieee)
return false;
}
-static u8 HTIOTActIsDisableEDCATurbo(struct rtllib_device *ieee, u8 *PeerMacAddr)
+static u8 HTIOTActIsDisableEDCATurbo(struct rtllib_device *ieee,
+ u8 *PeerMacAddr)
{
return false;
}