diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 13:50:14 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-08-02 12:40:33 +0000 |
commit | c21dfb699f35b6b5508fb808bb0ca211a865f2c9 (patch) | |
tree | 4c4a96fd88014631c37c282cc2b460906ceaca28 /fs/cifs/ioctl.c | |
parent | 3feb41cff8264e32a4d23ed829c3ed5369035f51 (diff) |
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 'fs/cifs/ioctl.c')
-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 505926f1ee6..9d38a71c8e1 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(); |