Bluetooth: Remove unnecessary casts of private_data in drivers
authorJoe Perches <joe@perches.com>
Mon, 12 Jul 2010 20:49:57 +0000 (13:49 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:11 +0000 (10:39 -0700)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_debugfs.c

index b50b41d..54739b0 100644 (file)
@@ -216,7 +216,7 @@ static const struct file_operations btmrvl_gpiogap_fops = {
 static ssize_t btmrvl_hscmd_write(struct file *file, const char __user *ubuf,
                                                size_t count, loff_t *ppos)
 {
-       struct btmrvl_private *priv = (struct btmrvl_private *) file->private_data;
+       struct btmrvl_private *priv = file->private_data;
        char buf[16];
        long result, ret;