diff options
author | Johan Hovold <johan@kernel.org> | 2015-05-04 18:10:36 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-12 11:47:08 +0300 |
commit | f0b7866a02370d9a03b0be497b9f88d982b8b67d (patch) | |
tree | b739d3238b374d5e9b89676d01d1eefb442e659e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 54d9acd7540995b06a47974e3d06da7f68df9d4a (diff) | |
download | linux-f0b7866a02370d9a03b0be497b9f88d982b8b67d.tar.xz |
gpio: sysfs: remove redundant export tests
The attribute operations will never be called for an unregistered device
so remove redundant checks for FLAG_EXPORT.
Note that kernfs will also guarantee that any active sysfs operation has
finished before the attribute is removed during deregistration.
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions