Commit 17e194b
ASoC: mchp-asrc: get rid of compilation warnings
Get rid of the following compilation warning:
sound/soc/atmel/mchp-asrc.c: In function ‘mchp_asrc_hw_params’:
sound/soc/atmel/mchp-asrc.c:1019:15: warning: variable ‘dsps_req’ set but not used [-Wunused-but-set-variable]
unsigned int dsps_req = (channels + 1) / 2;
^~~~~~~~
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
(cherry picked from linux-6.1-trunk/at91/sound)
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>1 parent 5e2a02b commit 17e194b
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | | - | |
1024 | 1023 | | |
1025 | 1024 | | |
1026 | 1025 | | |
| |||
1092 | 1091 | | |
1093 | 1092 | | |
1094 | 1093 | | |
1095 | | - | |
1096 | | - | |
1097 | 1094 | | |
1098 | 1095 | | |
1099 | 1096 | | |
| |||
0 commit comments