diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 10:50:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-12 21:13:34 -0700 |
commit | 54cbb1cab88ef20c284eef8c24a6d86fad989464 (patch) | |
tree | f3e20c1e6935a5e4621c696769c24e10c439e495 /drivers/isdn/capi | |
parent | 06df277a670263a073362046855851aad278d988 (diff) | |
download | kernel_samsung_espresso10-54cbb1cab88ef20c284eef8c24a6d86fad989464.zip kernel_samsung_espresso10-54cbb1cab88ef20c284eef8c24a6d86fad989464.tar.gz kernel_samsung_espresso10-54cbb1cab88ef20c284eef8c24a6d86fad989464.tar.bz2 |
drivers/isdn: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/capi')
-rw-r--r-- | drivers/isdn/capi/capi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index b0a4a69..f80a7c4 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c @@ -691,7 +691,7 @@ unlock_out: static ssize_t capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) { - struct capidev *cdev = (struct capidev *)file->private_data; + struct capidev *cdev = file->private_data; struct sk_buff *skb; size_t copied; int err; @@ -726,7 +726,7 @@ capi_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) static ssize_t capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) { - struct capidev *cdev = (struct capidev *)file->private_data; + struct capidev *cdev = file->private_data; struct sk_buff *skb; u16 mlen; @@ -773,7 +773,7 @@ capi_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos static unsigned int capi_poll(struct file *file, poll_table * wait) { - struct capidev *cdev = (struct capidev *)file->private_data; + struct capidev *cdev = file->private_data; unsigned int mask = 0; if (!cdev->ap.applid) |