[ovs-dev] [PATCH 19/19] datapath: Drop unused file ops.
Jesse Gross
jesse at nicira.com
Thu Dec 9 06:14:17 UTC 2010
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 <jesse at nicira.com>
---
datapath/datapath.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/datapath/datapath.c b/datapath/datapath.c
index 49dcec5..aaf2a53 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;
--
1.7.1
More information about the dev
mailing list