diff options
author | Joe Perches <joe@perches.com> | 2010-09-04 18:52:46 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-09-23 13:43:52 +0200 |
commit | 35df83970ecdc2cffb141503cf721a740d0f0ec5 (patch) | |
tree | 29593601fac047c53a0e092a41c72796b7424968 /drivers/scsi/sg.c | |
parent | 27e49945ac7090b818e44cb9e8ae4b94fd711e41 (diff) |
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/sg.c')
-rw-r--r-- | drivers/scsi/sg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 2968c6b83dd..307aba9f13a 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -210,7 +210,7 @@ static void sg_put_dev(Sg_device *sdp); static int sg_allow_access(struct file *filp, unsigned char *cmd) { - struct sg_fd *sfp = (struct sg_fd *)filp->private_data; + struct sg_fd *sfp = filp->private_data; if (sfp->parentdp->device->type == TYPE_SCANNER) return 0; |