|
@@ -3202,7 +3202,6 @@ static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *s
|
|
|
int len;
|
|
|
struct inode *inode;
|
|
|
struct page *page;
|
|
|
- struct shmem_inode_info *info;
|
|
|
|
|
|
len = strlen(symname) + 1;
|
|
|
if (len > PAGE_SIZE)
|
|
@@ -3222,7 +3221,6 @@ static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *s
|
|
|
error = 0;
|
|
|
}
|
|
|
|
|
|
- info = SHMEM_I(inode);
|
|
|
inode->i_size = len-1;
|
|
|
if (len <= SHORT_SYMLINK_LEN) {
|
|
|
inode->i_link = kmemdup(symname, len, GFP_KERNEL);
|