OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ecryptfs: Remove two pointless NULL checks in ecryptfs_dump_cipher
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
fs
/
ecryptfs
/
debug.c
diff --git
a/fs/ecryptfs/debug.c
b/fs/ecryptfs/debug.c
index
0556af1
..
d34a1d6
100644
(file)
--- a/
fs/ecryptfs/debug.c
+++ b/
fs/ecryptfs/debug.c
@@
-139,12
+139,8
@@
void ecryptfs_dump_cipher(struct ecryptfs_crypt_stat *stat)
if (!stat)
return;
if (!stat)
return;
- if (stat->cipher)
- ecryptfs_printk(KERN_DEBUG,
- "ecryptfs cipher is %s\n", stat->cipher);
-
- if (stat->cipher_mode)
- ecryptfs_printk(KERN_DEBUG, "ecryptfs cipher mode is %s\n",
- stat->cipher_mode);
+ ecryptfs_printk(KERN_DEBUG, "ecryptfs cipher is %s\n", stat->cipher);
+ ecryptfs_printk(KERN_DEBUG, "ecryptfs cipher mode is %s\n",
+ stat->cipher_mode);
}
}