diff options
author | 2023-05-24 21:49:56 +0200 | |
---|---|---|
committer | 2023-06-23 15:37:36 +0200 | |
commit | bafa23b6c07caac63a9637e83a605c26771b43ee (patch) | |
tree | 08f54bb2e84509e46cb56ac23a27d4073770a4a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: meson: fix handling of period/duty if greater than UINT_MAX (diff) | |
download | wireguard-linux-bafa23b6c07caac63a9637e83a605c26771b43ee.tar.xz wireguard-linux-bafa23b6c07caac63a9637e83a605c26771b43ee.zip |
pwm: meson: remove not needed check in meson_pwm_calc
period >= duty implies that cnt >= duty_cnt. We verified before
that cnt <= 0xffff, therefore we can omit the check here.
Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions