diff options
| author | Dirk Behme <[email protected]> | 2015-08-18 18:02:32 +0200 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2015-10-02 04:19:35 -0700 |
| commit | 48b5953ed826224a1332f2fd784d37d5f084ca9c (patch) | |
| tree | 6e79a1b7e386c9d36f93072f76d6d168bd684487 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 633a5065939ae75a07bc37c110399a3faf065147 (diff) | |
gpio: gpiolib: don't compare an unsigned for >= 0
The parameter offset is an unsigned, so it makes no sense to compare
it for >= 0. Fix the compiler warning regarding this by removing this
comparison.
As the macro GPIO_OFFSET_VALID is only used at this single place, simplify
the code by dropping the macro completely and dropping the invert, too.
No functional change.
Signed-off-by: Dirk Behme <[email protected]>
Acked-by: Alexandre Courbot <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions