diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2013-01-17 11:36:10 -0800 |
---|---|---|
committer | Tyler Hicks <tyhicks@canonical.com> | 2013-01-17 11:36:10 -0800 |
commit | bbcb03e3ce8c76a4ecf0ea7d365f9f0e913fc329 (patch) | |
tree | a0a97379983c43130993bfa3f73f12c20814c246 /fs/ecryptfs/file.c | |
parent | fa5199648e273a5e3e80aca41c1eb53700438dc1 (diff) | |
download | linux-next-bbcb03e3ce8c76a4ecf0ea7d365f9f0e913fc329.tar.gz |
eCryptfs: Fix -Wunused-but-set-variable warnings
These two variables are no longer used and can be removed. Fixes
warnings when building with W=1.
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'fs/ecryptfs/file.c')
-rw-r--r-- | fs/ecryptfs/file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c index d45ba4568128..bfa52d2ef460 100644 --- a/fs/ecryptfs/file.c +++ b/fs/ecryptfs/file.c @@ -199,7 +199,6 @@ static int ecryptfs_open(struct inode *inode, struct file *file) struct dentry *ecryptfs_dentry = file->f_path.dentry; /* Private value of ecryptfs_dentry allocated in * ecryptfs_lookup() */ - struct dentry *lower_dentry; struct ecryptfs_file_info *file_info; mount_crypt_stat = &ecryptfs_superblock_to_private( @@ -222,7 +221,6 @@ static int ecryptfs_open(struct inode *inode, struct file *file) rc = -ENOMEM; goto out; } - lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); crypt_stat = &ecryptfs_inode_to_private(inode)->crypt_stat; mutex_lock(&crypt_stat->cs_mutex); if (!(crypt_stat->flags & ECRYPTFS_POLICY_APPLIED)) { |