diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 22:50:14 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-02 14:40:33 +0200 |
commit | c21dfb699f35b6b5508fb808bb0ca211a865f2c9 (patch) | |
tree | 4c4a96fd88014631c37c282cc2b460906ceaca28 /fs/cifs/ioctl.c | |
parent | cifs: add kernel config option for CIFS Client caching support (diff) | |
download | linux-c21dfb699f35b6b5508fb808bb0ca211a865f2c9.tar.xz linux-c21dfb699f35b6b5508fb808bb0ca211a865f2c9.zip |
fs/cifs: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to '')
-rw-r--r-- | fs/cifs/ioctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index 505926f1ee6b..9d38a71c8e14 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c @@ -41,8 +41,7 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) __u64 ExtAttrMask = 0; __u64 caps; struct cifsTconInfo *tcon; - struct cifsFileInfo *pSMBFile = - (struct cifsFileInfo *)filep->private_data; + struct cifsFileInfo *pSMBFile = filep->private_data; #endif /* CONFIG_CIFS_POSIX */ xid = GetXid(); |