commit | 7328fa64aa30405c2d6abd44bb6866e914dba35d | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Dec 05 21:39:42 2016 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Dec 15 06:59:15 2016 +0200 |
tree | 79424365f39838ef532bf5042d62c1b8cee013af | |
parent | c60923cb9cb5e042790839d553ed77e68ef45adf [diff] |
virtio_console: drop unused config fields struct ports_device includes a config field including the whole virtio_console_config, but only max_nr_ports in there is ever updated or used. The rest is unused and in fact does not even mirror the device config. Drop everything except max_nr_ports, saving some memory. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Jason Wang <jasowang@redhat.com>