summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/dot11d.h
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/dot11d.h
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/dot11d.h')
-rw-r--r--drivers/staging/rtl8192e/dot11d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/dot11d.h b/drivers/staging/rtl8192e/dot11d.h
index aad3394392fe..69e0f8f7e3f8 100644
--- a/drivers/staging/rtl8192e/dot11d.h
+++ b/drivers/staging/rtl8192e/dot11d.h
@@ -74,8 +74,8 @@ static inline void cpMacAddr(unsigned char *des, unsigned char *src)
(GET_DOT11D_INFO(__pIeeeDev)->CountryIeLen > 0)
#define IS_EQUAL_CIE_SRC(__pIeeeDev, __pTa) \
- ether_addr_equal_unaligned(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, \
- __pTa)
+ ether_addr_equal_unaligned( \
+ GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa)
#define UPDATE_CIE_SRC(__pIeeeDev, __pTa) \
cpMacAddr(GET_DOT11D_INFO(__pIeeeDev)->CountryIeSrcAddr, __pTa)