diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-01 11:31:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-01 16:08:04 +0300 |
commit | cf2a06c133ddb07d90af78569f5d3e0551cfde7f (patch) | |
tree | 7be5e732a4abfee5ea1bce0fd1faea5d0fcdf462 /scripts/show_delta | |
parent | a761b8b00c6cde8f20cdcafdfba685118f2832e3 (diff) | |
download | linux-cf2a06c133ddb07d90af78569f5d3e0551cfde7f.tar.xz |
misc: mic: scif: scif_api: Remove set but unused variable 'read_size'
'read_size' appears to have been assigned, but never used since the
SCIF messaging and node enumeration APIs were introduced in 2015.
Makes sense to simply remove it.
Fixes the following W=1 warning:
drivers/misc/mic/scif/scif_api.c: In function ‘_scif_recv’:
drivers/misc/mic/scif/scif_api.c:1000:6: warning: variable ‘read_size’ set but not used [-Wunused-but-set-variable]
1000 | int read_size;
| ^~~~~~~~~
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200701083118.45744-19-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/show_delta')
0 files changed, 0 insertions, 0 deletions