diff options
| author | Colin Ian King <[email protected]> | 2018-01-08 22:22:43 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-01-08 17:53:21 +0100 |
| commit | 7094dc2b537b0eeb08fb7a35d528be35a2cc5e59 (patch) | |
| tree | 6421a0c7a31530a2116937b1bfbdf6b2df19c220 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | 0132af05fc8b3f36bdf5273b146af09ff6421d61 (diff) | |
soundwire: intel: fix missing assignment to ret
Currently the return status ret is being checked but it has not been
updated since the previous check on ret. It appears that assignment of
ret from return status of the call to sdw_cdns_enable_interrupt was
accidentally ommited. Fix this.
Detected by CoverityScan, CID#1463148 ("Logically dead code")
Fixes: 71bb8a1b059e ("soundwire: intel: Add Intel Master driver")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions