« Previous | Next » 

Revision 91bdd1cf

ID91bdd1cf08f65b7a127c22d4d65ff9d16dcac870

Added by Amit Shah over 11 years ago

virtio-serial-bus: assert port is non-null in remove_port()

remove_port() is called from qdev's unplug callback, and we're certain
the port will be found in our list of ports. Adding an assert()
documents this.

This was flagged by Coverity, fix suggested by Markus.

CC: Markus Armbruster <>
Reviewed-by: Markus Armbruster <>
Signed-off-by: Amit Shah <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences