From: Jesse Gross Date: Wed, 8 Dec 2010 21:38:22 +0000 (-0800) Subject: datapath: Drop unused file ops. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb016a60434e3890ef4db2ccfa23fa1948c6b9f5;p=openvswitch 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 --- diff --git a/datapath/datapath.c b/datapath/datapath.c index 49dcec50..aaf2a531 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;