From: Mauro Dreissig Date: Sun, 5 Jul 2020 14:35:48 +0000 (-0300) Subject: staging: rtl8712: Replace constant 49152 with expression 48 * 1024 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4911537c6b4115f4fd49e1190013555681735d74;p=linux.git staging: rtl8712: Replace constant 49152 with expression 48 * 1024 This way we don't need the comment stating that 49152 equals 48k. Signed-off-by: Mauro Dreissig Link: https://lore.kernel.org/r/20200705143552.9368-2-mukadr@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 7293cdc3a43bb..1f5ba9cbe951c 100644 --- 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) {