aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorWambui Karuga <[email protected]>2020-01-02 12:55:15 +0300
committerDaniel Vetter <[email protected]>2020-01-08 18:35:36 +0100
commit8b185cf7ebaa1f390ba25368ce9ae387eb1a8b63 (patch)
treede59110ecb1a8e608d0cf9e754fc4e0db8455192 /tools/perf/util/c++/clang-test.cpp
parent50b81d77be31a95ba036e6403b921dc918328956 (diff)
drm/omapdrm: use BUG_ON macro for error debugging.
Since the if statement only checks for the value of the `id` variable, it can be replaced by the more concise BUG_ON() macro for error reporting. Issue found using coccinelle. Signed-off-by: Wambui Karuga <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions