diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-13 15:10:25 -0600 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-14 12:02:29 +0530 |
commit | 78f6fdd6161f6b5a8fc13b8b0def923437a61a7f (patch) | |
tree | 54c7da3b5a7e9a5f989c10a5437a56d22986c214 /drivers/soundwire/bus.c | |
parent | 39737a313085fac13ea9e3cbc8b3dda193415933 (diff) | |
download | linux-78f6fdd6161f6b5a8fc13b8b0def923437a61a7f.tar.bz2 |
soundwire: cadence: remove useless variable incrementation
Fix cppcheck warning:
drivers/soundwire/cadence_master.c:992:9: style: Variable 'offset' is
assigned a value that is never used. [unreadVariable]
offset += stream->num_out;
^
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200113211025.27973-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/bus.c')
0 files changed, 0 insertions, 0 deletions