diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-01-07 13:36:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 18:13:43 +0300 |
commit | 2441fa93a82b2a799de2e07f74acca07a7d7d49d (patch) | |
tree | d4c7cfec1e4b647212a0ef2c403ecc8340d2a2b4 /drivers/staging/r8188eu/include/rtl8188e_hal.h | |
parent | 2f8e84b2d1f841dd9b82d231463b7733112735b6 (diff) | |
download | linux-2441fa93a82b2a799de2e07f74acca07a7d7d49d.tar.xz |
staging: r8188eu: use kmemdup instead of kzalloc and memcpy
Use kmemdup instead of kzalloc and memcpy in load_firmware().
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220107103620.15648-10-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtl8188e_hal.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtl8188e_hal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h index 3da04751f25d..051f3b9fe726 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h @@ -35,7 +35,6 @@ #define PageNum_128(_Len) (u32)(((_Len)>>7) + ((_Len) & 0x7F ? 1 : 0)) /* download firmware related data structure */ -#define FW_8188E_SIZE 0x4000 /* 16384,16k */ #define FW_8188E_START_ADDRESS 0x1000 #define MAX_PAGE_SIZE 4096 /* @ page : 4k bytes */ |