diff options
| author | Joe Perches <joe@perches.com> | 2010-07-12 06:50:24 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-07-13 00:13:37 -0400 |
| commit | 55a40e243210b72169eaa1cbd9b6edc6097571f8 (patch) | |
| tree | 008e9ed0a0f83f41c654a91cc6b9fcfbd00946d7 /net/irda | |
| parent | 8a994a7180104b305970232e160b18523c1fbd6a (diff) | |
net/irda: 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 'net/irda')
| -rw-r--r-- | net/irda/irnet/irnet_ppp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/irda/irnet/irnet_ppp.c b/net/irda/irnet/irnet_ppp.c index 6a1a202710c5..800bc53b7f63 100644 --- a/net/irda/irnet/irnet_ppp.c +++ b/net/irda/irnet/irnet_ppp.c | |||
| @@ -527,7 +527,7 @@ static int | |||
| 527 | dev_irnet_close(struct inode * inode, | 527 | dev_irnet_close(struct inode * inode, |
| 528 | struct file * file) | 528 | struct file * file) |
| 529 | { | 529 | { |
| 530 | irnet_socket * ap = (struct irnet_socket *) file->private_data; | 530 | irnet_socket * ap = file->private_data; |
| 531 | 531 | ||
| 532 | DENTER(FS_TRACE, "(file=0x%p, ap=0x%p)\n", | 532 | DENTER(FS_TRACE, "(file=0x%p, ap=0x%p)\n", |
| 533 | file, ap); | 533 | file, ap); |
| @@ -564,7 +564,7 @@ dev_irnet_write(struct file * file, | |||
| 564 | size_t count, | 564 | size_t count, |
| 565 | loff_t * ppos) | 565 | loff_t * ppos) |
| 566 | { | 566 | { |
| 567 | irnet_socket * ap = (struct irnet_socket *) file->private_data; | 567 | irnet_socket * ap = file->private_data; |
| 568 | 568 | ||
| 569 | DPASS(FS_TRACE, "(file=0x%p, ap=0x%p, count=%Zd)\n", | 569 | DPASS(FS_TRACE, "(file=0x%p, ap=0x%p, count=%Zd)\n", |
| 570 | file, ap, count); | 570 | file, ap, count); |
| @@ -588,7 +588,7 @@ dev_irnet_read(struct file * file, | |||
| 588 | size_t count, | 588 | size_t count, |
| 589 | loff_t * ppos) | 589 | loff_t * ppos) |
| 590 | { | 590 | { |
| 591 | irnet_socket * ap = (struct irnet_socket *) file->private_data; | 591 | irnet_socket * ap = file->private_data; |
| 592 | 592 | ||
| 593 | DPASS(FS_TRACE, "(file=0x%p, ap=0x%p, count=%Zd)\n", | 593 | DPASS(FS_TRACE, "(file=0x%p, ap=0x%p, count=%Zd)\n", |
| 594 | file, ap, count); | 594 | file, ap, count); |
| @@ -609,7 +609,7 @@ static unsigned int | |||
| 609 | dev_irnet_poll(struct file * file, | 609 | dev_irnet_poll(struct file * file, |
| 610 | poll_table * wait) | 610 | poll_table * wait) |
| 611 | { | 611 | { |
| 612 | irnet_socket * ap = (struct irnet_socket *) file->private_data; | 612 | irnet_socket * ap = file->private_data; |
| 613 | unsigned int mask; | 613 | unsigned int mask; |
| 614 | 614 | ||
| 615 | DENTER(FS_TRACE, "(file=0x%p, ap=0x%p)\n", | 615 | DENTER(FS_TRACE, "(file=0x%p, ap=0x%p)\n", |
| @@ -638,7 +638,7 @@ dev_irnet_ioctl( | |||
| 638 | unsigned int cmd, | 638 | unsigned int cmd, |
| 639 | unsigned long arg) | 639 | unsigned long arg) |
| 640 | { | 640 | { |
| 641 | irnet_socket * ap = (struct irnet_socket *) file->private_data; | 641 | irnet_socket * ap = file->private_data; |
| 642 | int err; | 642 | int err; |
| 643 | int val; | 643 | int val; |
| 644 | void __user *argp = (void __user *)arg; | 644 | void __user *argp = (void __user *)arg; |
