summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-09-04 18:52:46 -0700
committerJiri Kosina <jkosina@suse.cz>2010-09-23 13:43:52 +0200
commit35df83970ecdc2cffb141503cf721a740d0f0ec5 (patch)
tree29593601fac047c53a0e092a41c72796b7424968 /drivers/scsi/aacraid
parent27e49945ac7090b818e44cb9e8ae4b94fd711e41 (diff)
downloadblackbird-op-linux-35df83970ecdc2cffb141503cf721a740d0f0ec5.tar.gz
blackbird-op-linux-35df83970ecdc2cffb141503cf721a740d0f0ec5.zip
drivers/scsi: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi/aacraid')
-rw-r--r--drivers/scsi/aacraid/linit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index cad6f9abaeb9..aa4003699027 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -770,7 +770,7 @@ static long aac_compat_cfg_ioctl(struct file *file, unsigned cmd, unsigned long
{
if (!capable(CAP_SYS_RAWIO))
return -EPERM;
- return aac_compat_do_ioctl((struct aac_dev *)file->private_data, cmd, arg);
+ return aac_compat_do_ioctl(file->private_data, cmd, arg);
}
#endif
OpenPOWER on IntegriCloud