We fixed checkpatch errors in the rtl8192e driver and noticed that some
macros that produced errors in checkpatch are unused, so we removed them.
There are no functional changes in this patch.
___
devel mailing list
de...@linuxdriverproject.org
http://dr
where else we decided to remove them from the
driver.
Signed-off-by: Andreas Frembs
Signed-off-by: Matthias Schoepe
---
drivers/staging/rtl8192e/rtllib_endianfree.h | 38
1 file changed, 38 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_endianfree.h
This patch fixes the following checkpatch errors from rtllib_endianfree.h:
- ERROR: Macros with complex values should be enclosed in parenthesis
Signed-off-by: Andreas Frembs
Signed-off-by: Matthias Schoepe
---
drivers/staging/rtl8192e/rtllib_endianfree.h | 6 +++---
1 file changed, 3
In rtl819x_Qos.h there were several macros defined but never used.
So we removed this macros.
Signed-off-by: Andreas Frembs
Signed-off-by: Matthias Schoepe
---
drivers/staging/rtl8192e/rtl819x_Qos.h | 37 --
1 file changed, 37 deletions(-)
diff --git a/drivers
We fixed in rtllib_debug.h the following checkpatch warning:
WARNING: do {} while (0) macros should not be semicolon terminated.
After deleting this semicolon we also had to fix the wrong use of this macro in
rtl8192e/r8192E_phy.c
Signed-off-by: Andreas Frembs
Signed-off-by: Matthias
In rtllib_crypt_tkip.c we fixed the following checkpatch error:
ERROR: space required after that ','
Signed-off-by: Andreas Frembs
Signed-off-by: Matthias Schoepe
---
drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
In rtllib_debug.h we fixed the following checkpatch error:
ERROR: Macros with complex values should be enclosed in parenthesis
We fixed this with a do {} while (0), because otherwise the compiler complained.
Signed-off-by: Andreas Frembs
Signed-off-by: Matthias Schoepe
---
drivers
In rtllib_crypt_tkip.c we fixed the checkpatch error: space required after that
','.
In rtllib_debug.h we fixed the checkpatch error: Macros with complex values
should be enclosed in parenthesis.
We also fixed in rtllib_debug.h the warning, do {} while (0) macros should not
be semicolon termina