projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2145021
)
staging: rtl8712: Replace constant 49152 with expression 48 * 1024
author
Mauro Dreissig
<mukadr@gmail.com>
Sun, 5 Jul 2020 14:35:48 +0000
(11:35 -0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 11:53:58 +0000
(13:53 +0200)
This way we don't need the comment stating that 49152 equals 48k.
Signed-off-by: Mauro Dreissig <mukadr@gmail.com>
Link:
https://lore.kernel.org/r/20200705143552.9368-2-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/hal_init.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8712/hal_init.c
b/drivers/staging/rtl8712/hal_init.c
index 7293cdc3a43bb3b353d28fa386b2320753df5844..1f5ba9cbe951c8cbf9f66c7b5729aded39848875 100644
(file)
--- a/
drivers/staging/rtl8712/hal_init.c
+++ b/
drivers/staging/rtl8712/hal_init.c
@@
-27,7
+27,7
@@
#include "usb_osintf.h"
#define FWBUFF_ALIGN_SZ 512
-#define MAX_DUMP_FWSZ
49152 /*default = 49152 (48k)*/
+#define MAX_DUMP_FWSZ
(48 * 1024)
static void rtl871x_load_fw_cb(const struct firmware *firmware, void *context)
{