aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/raw1394.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-12 16:50:00 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-07-13 03:59:32 -0400
commit80792d182e43bee89fce509e64fdea27e600530f (patch)
tree058b752acfb8089f8ff000ffecc5842c20996b84 /drivers/ieee1394/raw1394.c
parent02d37bed188c500ee7afb0a2dc6b65a80704c58e (diff)
ieee1394: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/raw1394.c')
-rw-r--r--drivers/ieee1394/raw1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c
index 2c417ae7622b..f3401427404c 100644
--- a/drivers/ieee1394/raw1394.c
+++ b/drivers/ieee1394/raw1394.c
@@ -440,7 +440,7 @@ static struct pending_request *next_complete_req(struct file_info *fi)
440static ssize_t raw1394_read(struct file *file, char __user * buffer, 440static ssize_t raw1394_read(struct file *file, char __user * buffer,
441 size_t count, loff_t * offset_is_ignored) 441 size_t count, loff_t * offset_is_ignored)
442{ 442{
443 struct file_info *fi = (struct file_info *)file->private_data; 443 struct file_info *fi = file->private_data;
444 struct pending_request *req; 444 struct pending_request *req;
445 ssize_t ret; 445 ssize_t ret;
446 446
@@ -2244,7 +2244,7 @@ static int state_connected(struct file_info *fi, struct pending_request *req)
2244static ssize_t raw1394_write(struct file *file, const char __user * buffer, 2244static ssize_t raw1394_write(struct file *file, const char __user * buffer,
2245 size_t count, loff_t * offset_is_ignored) 2245 size_t count, loff_t * offset_is_ignored)
2246{ 2246{
2247 struct file_info *fi = (struct file_info *)file->private_data; 2247 struct file_info *fi = file->private_data;
2248 struct pending_request *req; 2248 struct pending_request *req;
2249 ssize_t retval = -EBADFD; 2249 ssize_t retval = -EBADFD;
2250 2250