diff options
| author | Lee Jones <[email protected]> | 2021-04-14 19:11:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-10 11:19:26 +0200 |
| commit | 433cb9f05aa9c3dad96981f92f8d117e3443fb8f (patch) | |
| tree | 22aff3461bd1cf54e9e8454d8d945763f1168c3f /tools/perf/scripts/python | |
| parent | 904f18483591e64de15d9cd93c2e901728269afe (diff) | |
staging: rtl8723bs: hal: sdio_ops: Mark used 'err' as __maybe_unused and remove another
'err' is only used if debug is enabled.
Also remove 4 year old TODO.
Fixes the following W=1 kernel build warning(s):
drivers/staging/rtl8723bs/hal/sdio_ops.c: In function ‘sdio_read32’:
drivers/staging/rtl8723bs/hal/sdio_ops.c:170:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
drivers/staging/rtl8723bs/hal/sdio_ops.c: In function ‘sdio_read_mem’:
drivers/staging/rtl8723bs/hal/sdio_ops.c:381:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Fabio Aiuto <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions