git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Remove unnecessary casts
[pandora-kernel.git]
/
fs
/
stat.c
diff --git
a/fs/stat.c
b/fs/stat.c
index
7c46fbe
..
7e12a6f
100644
(file)
--- a/
fs/stat.c
+++ b/
fs/stat.c
@@
-305,7
+305,7
@@
asmlinkage long sys_readlinkat(int dfd, const char __user *pathname,
struct inode *inode = path.dentry->d_inode;
error = -EINVAL;
- if (inode->i_op
&& inode->i_op
->readlink) {
+ if (inode->i_op->readlink) {
error = security_inode_readlink(path.dentry);
if (!error) {
touch_atime(path.mnt, path.dentry);