diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2019-09-26 21:39:37 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2020-02-02 01:40:55 +0200 |
| commit | 0b11acaba990eb32bec8b9f7b01277649bf3ab83 (patch) | |
| tree | 90a4995cbc444bc389fd36e962f8ef100de401cb /include | |
| parent | 6a31f29c4f58e5c4797528e78c769ab00f9088ff (diff) | |
ecryptfs: Remove two pointless NULL checks in ecryptfs_dump_cipher
Clang warns:
../fs/ecryptfs/debug.c:142:12: warning: address of array 'stat->cipher'
will always evaluate to 'true' [-Wpointer-bool-conversion]
if (stat->cipher)
~~ ~~~~~~^~~~~~
../fs/ecryptfs/debug.c:146:12: warning: address of array
'stat->cipher_mode' will always evaluate to 'true'
[-Wpointer-bool-conversion]
if (stat->cipher_mode)
~~ ~~~~~~^~~~~~~~~~~
2 warnings generated.
Fixes: f50a4a1dc7a0 ("eCryptfs: fixed bug in cipher handling")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
