When a port is removed, we have to assume the port is gone. So a
success/failure return value doesn't make sense.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
}
/* Remove all port-specific data. */
-static int remove_port(struct port *port)
+static void remove_port(struct port *port)
{
struct port_buffer *buf;
debugfs_remove(port->debugfs_file);
kfree(port);
- return 0;
}
/* Any private messages that the Host and Guest want to share */