summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-04-04 14:39:41 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2017-05-08 17:36:10 -0700
commit31469fc2488f66e7b43f80088690dd386e0d12b6 (patch)
treec79680eb4e871e3796b80928c8384a9db6609fe3 /tools/perf/scripts/python/netdev-times.py
parent0addb61dc70fff224c344a30bf38345d96ce7fdb (diff)
fscrypt: remove unnecessary checks for NULL operations
The functions in fs/crypto/*.c are only called by filesystems configured with encryption support. Since the ->get_context(), ->set_context(), and ->empty_dir() operations are always provided in that case (and must be, otherwise there would be no way to get/set encryption policies, or in the case of ->get_context() even access encrypted files at all), there is no need to check for these operations being NULL and we can remove these unneeded checks. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Richard Weinberger <richard@nod.at> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions