diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 22:49:57 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-21 19:39:11 +0200 |
commit | be60b94030339b89c2bcff18c76882f0a4c01ce6 (patch) | |
tree | f2069ba70dd7c82101a559d87566ec4abbadb459 /drivers/bluetooth/btmrvl_debugfs.c | |
parent | Bluetooth: Add HCIUARTSETFLAGS and HCIUARTGETFLAGS ioctls (diff) | |
download | linux-be60b94030339b89c2bcff18c76882f0a4c01ce6.tar.xz linux-be60b94030339b89c2bcff18c76882f0a4c01ce6.zip |
Bluetooth: Remove unnecessary casts of private_data in drivers
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmrvl_debugfs.c')
-rw-r--r-- | drivers/bluetooth/btmrvl_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_debugfs.c b/drivers/bluetooth/btmrvl_debugfs.c index b50b41d97a7f..54739b08c308 100644 --- a/drivers/bluetooth/btmrvl_debugfs.c +++ b/drivers/bluetooth/btmrvl_debugfs.c @@ -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; |