[IA64] Remove unnecessary casts of private_data in perfmon.c

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Joe Perches and committed by Tony Luck df0a59a1 ddad53ee

+6 -6
+6 -6
arch/ia64/kernel/perfmon.c
··· 1573 1573 return -EINVAL; 1574 1574 } 1575 1575 1576 - ctx = (pfm_context_t *)filp->private_data; 1576 + ctx = filp->private_data; 1577 1577 if (ctx == NULL) { 1578 1578 printk(KERN_ERR "perfmon: pfm_read: NULL ctx [%d]\n", task_pid_nr(current)); 1579 1579 return -EINVAL; ··· 1673 1673 return 0; 1674 1674 } 1675 1675 1676 - ctx = (pfm_context_t *)filp->private_data; 1676 + ctx = filp->private_data; 1677 1677 if (ctx == NULL) { 1678 1678 printk(KERN_ERR "perfmon: pfm_poll: NULL ctx [%d]\n", task_pid_nr(current)); 1679 1679 return 0; ··· 1733 1733 return -EBADF; 1734 1734 } 1735 1735 1736 - ctx = (pfm_context_t *)filp->private_data; 1736 + ctx = filp->private_data; 1737 1737 if (ctx == NULL) { 1738 1738 printk(KERN_ERR "perfmon: pfm_fasync NULL ctx [%d]\n", task_pid_nr(current)); 1739 1739 return -EBADF; ··· 1841 1841 return -EBADF; 1842 1842 } 1843 1843 1844 - ctx = (pfm_context_t *)filp->private_data; 1844 + ctx = filp->private_data; 1845 1845 if (ctx == NULL) { 1846 1846 printk(KERN_ERR "perfmon: pfm_flush: NULL ctx [%d]\n", task_pid_nr(current)); 1847 1847 return -EBADF; ··· 1984 1984 return -EBADF; 1985 1985 } 1986 1986 1987 - ctx = (pfm_context_t *)filp->private_data; 1987 + ctx = filp->private_data; 1988 1988 if (ctx == NULL) { 1989 1989 printk(KERN_ERR "perfmon: pfm_close: NULL ctx [%d]\n", task_pid_nr(current)); 1990 1990 return -EBADF; ··· 4907 4907 goto error_args; 4908 4908 } 4909 4909 4910 - ctx = (pfm_context_t *)file->private_data; 4910 + ctx = file->private_data; 4911 4911 if (unlikely(ctx == NULL)) { 4912 4912 DPRINT(("no context for fd %d\n", fd)); 4913 4913 goto error_args;