2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-17 14:28:02 +00:00

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 <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Jesse Gross
2010-12-08 13:38:22 -08:00
parent e22d4953ec
commit fb016a6043

View File

@@ -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;