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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user