diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-07-18 20:34:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-07-19 14:23:47 +0300 |
commit | d4e753d3aa2c278cb1f7b4a61987c4037316e0fd (patch) | |
tree | 763f7febd8687ff8cb768442e09430020838694e /tools/perf/scripts/python/net_dropmonitor.py | |
parent | ddc9e69b9dc23d4c0d8ed829575327746ea77a04 (diff) | |
download | linux-d4e753d3aa2c278cb1f7b4a61987c4037316e0fd.tar.xz |
ASoC: rt5677: Refactor code to avoid comparison unsigned >= 0
rt5677_to_irq() has couple of redundant conditionals, one of which
compares unsigned variable to be great than or equal to zero which
is always true as compiler notices:
sound/soc/codecs/rt5677.c: In function ‘rt5677_to_irq’:
sound/soc/codecs/rt5677.c:4626:13: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
Refactor the code by removing redundant conditionals.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions