+6
−0
Loading
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 <armbru@redhat.com> Reviewed-by:Markus Armbruster <armbru@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>