diff options
author | Nathan Huckleberry <nhuck@google.com> | 2019-06-12 16:25:02 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-13 19:46:52 +0100 |
commit | 2f7e015c1f20cfdbe97df25868abbfa8b7514778 (patch) | |
tree | 6fcd6f058dea59486871ac2623c9e7b0860ebfbc /mm/usercopy.c | |
parent | 05113483fd300d7a4605a726770e7255e29f1ac7 (diff) | |
download | linux-2f7e015c1f20cfdbe97df25868abbfa8b7514778.tar.bz2 |
ASoC: tas571x: Fix -Wunused-const-variable
Clang produces the following warning
sound/soc/codecs/tas571x.c:666:38: warning: unused variable
'tas5721_controls' [-Wunused-const-variable]
In the chip struct definition tas5711_controls is used rather than
tac5712_controls. Looks like a typo was made in the original commit.
Since tac5711_controls is identical to tas5721_controls we can just swap
them
Cc: clang-built-linux@googlegroups.com
Link: https://github.com/ClangBuiltLinux/linux/issues/522
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions