remove unnecessary variable. Signed-off-by: Shaohua Li <shaohua.li@xxxxxxxxx> diff --git a/fs/ioctl.c b/fs/ioctl.c index d6cc164..b3a710d 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c @@ -585,8 +585,7 @@ int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, case FIGETBSZ: { struct inode *inode = filp->f_path.dentry->d_inode; - int __user *p = (int __user *)arg; - return put_user(inode->i_sb->s_blocksize, p); + return put_user(inode->i_sb->s_blocksize, argp); } default: -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html