patch-2.4.9 linux/drivers/bluetooth/hci_emu.c

Next file: linux/drivers/bluetooth/hci_uart.c
Previous file: linux/drivers/block/acsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/drivers/bluetooth/hci_emu.c linux/drivers/bluetooth/hci_emu.c
@@ -220,11 +220,6 @@
 	return ret;
 }
 
-static loff_t hci_emu_chr_lseek(struct file * file, loff_t offset, int origin)
-{
-	return -ESPIPE;
-}
-
 static int hci_emu_chr_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
 {
 	return -EINVAL;
@@ -295,7 +290,7 @@
 
 static struct file_operations hci_emu_fops = {
 	owner:	THIS_MODULE,	
-	llseek:	hci_emu_chr_lseek,
+	llseek:	no_llseek,
 	read:	hci_emu_chr_read,
 	write:	hci_emu_chr_write,
 	poll:	hci_emu_chr_poll,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)