diff options
author | Stefan Agner <stefan@agner.ch> | 2018-06-17 15:45:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-18 12:54:38 +0100 |
commit | a7dc662c6a7b9209df600c64b16d33d72dbf56b1 (patch) | |
tree | 03fa7f33d92df10e0b01cde5a0bc340848114aa7 /Documentation | |
parent | 0ddce71c21f03fd19867c4939d3ca710f37cdf1a (diff) |
ASoC: codecs: PCM1789: unconditionally flush work
Work is guaranteed to be initialized on exit. Drop the unnecessary
if statement and always call flush_work.
This fixes a warning seen with clang:
sound/soc/codecs/pcm1789.c:265:13: warning: address of 'priv->work' will
always evaluate to 'true' [-Wpointer-bool-conversion]
if (&priv->work)
~~ ~~~~~~^~~~
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions