ASoC: cygnus: remove redundant assignment to pointer 'res'
authorColin Ian King <colin.king@canonical.com>
Thu, 8 Mar 2018 13:32:49 +0000 (14:32 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 8 Mar 2018 15:11:24 +0000 (15:11 +0000)
commit0338753a57aaf331cb7016bbfdba6086bf93149c
treed40d34d07c8d42249ec2f90b9f43c21ac86d0410
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: cygnus: remove redundant assignment to pointer 'res'

The pointer res is being initialized with a value that is never read
and re-assigned immediately after, hence the initialization is redundant
and can be removed.

Cleans up clang warning:
sound/soc/bcm/cygnus-ssp.c:1284:19: warning: Value stored to 'res'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/cygnus-ssp.c