diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-07-26 20:04:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-29 16:01:37 +0300 |
commit | 787126ebdb9821f1a19b1dfd1ab1bbb74b8c80b8 (patch) | |
tree | 52452f745fd199aeb4efc3fb983c1caed92324d1 /fs/binfmt_script.c | |
parent | 480689617510381391b3d906549477b948d9c4bc (diff) | |
download | linux-787126ebdb9821f1a19b1dfd1ab1bbb74b8c80b8.tar.xz |
ASoC: dapm: Drop always true checks
list_first_entry() always returns non NULL and since the code previously
checked that list is not empty it will also be a valid pointer. Furthermore
a path has always a sink or a source widget. So both checks are redundant
and can be removed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions