diff options
author | Saiyam Doshi <saiyamdoshi.in@gmail.com> | 2019-09-09 23:15:41 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-09-11 11:16:05 +0100 |
commit | d1c9e44a858d706ce0b496f559b25732e6697b0c (patch) | |
tree | 0501c6d812db8251940d85e882f74d9b846cab8b /lib/strncpy_from_user.c | |
parent | 6fa5963c37a2e3335eba0b7455e35a01318ebc15 (diff) | |
download | linux-stable-d1c9e44a858d706ce0b496f559b25732e6697b0c.tar.gz linux-stable-d1c9e44a858d706ce0b496f559b25732e6697b0c.tar.bz2 linux-stable-d1c9e44a858d706ce0b496f559b25732e6697b0c.zip |
ASoC: wcd9335: remove redundant use of ret variable
All these functions declares and initializes variable ret with
'0' and without modifying 'ret' variable, it is returned.
This patch removes this redundancy and returns '0' directly.
Signed-off-by: Saiyam Doshi <saiyamdoshi.in@gmail.com>
Link: https://lore.kernel.org/r/20190909174541.GA22718@SD
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions