diff options
author | 2017-01-09 11:47:44 -0800 | |
---|---|---|
committer | 2017-01-11 16:01:27 +0100 | |
commit | fb505747c06b8894bccb18457fd11bad047384f4 (patch) | |
tree | 1e97ee70cc956b527c97341dccdccb3a8db18eea /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gpiolib: Update documentation of struct acpi_gpio_info (diff) | |
download | linux-dev-fb505747c06b8894bccb18457fd11bad047384f4.tar.xz linux-dev-fb505747c06b8894bccb18457fd11bad047384f4.zip |
gpio: Remove impossible checks on container_of() result
container_of() does pointer math on the pointer that's passed in.
If it were to return a NULL pointer the value passed in would
need to be perfectly offset from 0 to make that so. Remove these
checks because they don't make sense.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions