summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-18 20:34:18 +0300
committerMark Brown <broonie@kernel.org>2017-07-19 14:23:47 +0300
commitd4e753d3aa2c278cb1f7b4a61987c4037316e0fd (patch)
tree763f7febd8687ff8cb768442e09430020838694e /tools/perf/scripts/python/netdev-times.py
parentddc9e69b9dc23d4c0d8ed829575327746ea77a04 (diff)
downloadlinux-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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions