From fb016a60434e3890ef4db2ccfa23fa1948c6b9f5 Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Wed, 8 Dec 2010 13:38:22 -0800 Subject: [PATCH] datapath: Drop unused file ops. There have been two ops to support async access to the datapath character device for a long time but they have never been implemented. Drop the commented out code. Signed-off-by: Jesse Gross Acked-by: Ben Pfaff --- datapath/datapath.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index 49dcec507..aaf2a5314 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -1945,14 +1945,12 @@ static unsigned int openvswitch_poll(struct file *file, poll_table *wait) } static struct file_operations openvswitch_fops = { - /* XXX .aio_read = openvswitch_aio_read, */ .read = openvswitch_read, .poll = openvswitch_poll, .unlocked_ioctl = openvswitch_ioctl, #ifdef CONFIG_COMPAT .compat_ioctl = openvswitch_compat_ioctl, #endif - /* XXX .fasync = openvswitch_fasync, */ }; static int major; -- 2.43.0