diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-10-15 16:28:53 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-12-03 13:34:18 -0500 |
commit | 5990108cfcd3eb2d365c9ea6f82318be80c4e9d3 (patch) | |
tree | 6f7df81f90820e37c0ca1d68e461262bfb0747fc /drivers/bluetooth/hci_vhci.c | |
parent | b3cf652afb5404685e3d7ed6780a8d1fa10e21da (diff) |
Bluetooth: Remove stub ioctl in hci_vhci
Remove the empty ioctl which just returns -EINVAL. vfs_ioctl() will
return -ENOTTY instead, but I doubt that any application will notice
the difference :)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_vhci.c')
-rw-r--r-- | drivers/bluetooth/hci_vhci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index d5cde6d86f89..ff02e901ab83 100644 --- a/drivers/bluetooth/hci_vhci.c +++ b/drivers/bluetooth/hci_vhci.c | |||
@@ -218,12 +218,6 @@ static unsigned int vhci_poll(struct file *file, poll_table *wait) | |||
218 | return POLLOUT | POLLWRNORM; | 218 | return POLLOUT | POLLWRNORM; |
219 | } | 219 | } |
220 | 220 | ||
221 | static int vhci_ioctl(struct inode *inode, struct file *file, | ||
222 | unsigned int cmd, unsigned long arg) | ||
223 | { | ||
224 | return -EINVAL; | ||
225 | } | ||
226 | |||
227 | static int vhci_open(struct inode *inode, struct file *file) | 221 | static int vhci_open(struct inode *inode, struct file *file) |
228 | { | 222 | { |
229 | struct vhci_data *data; | 223 | struct vhci_data *data; |
@@ -287,7 +281,6 @@ static const struct file_operations vhci_fops = { | |||
287 | .read = vhci_read, | 281 | .read = vhci_read, |
288 | .write = vhci_write, | 282 | .write = vhci_write, |
289 | .poll = vhci_poll, | 283 | .poll = vhci_poll, |
290 | .ioctl = vhci_ioctl, | ||
291 | .open = vhci_open, | 284 | .open = vhci_open, |
292 | .release = vhci_release, | 285 | .release = vhci_release, |
293 | }; | 286 | }; |