aboutsummaryrefslogtreecommitdiff
path: root/block/vvfat.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2012-12-18 13:08:33 +0530
committerAmit Shah <amit.shah@redhat.com>2012-12-18 14:28:50 +0530
commit91bdd1cf08f65b7a127c22d4d65ff9d16dcac870 (patch)
tree632c89c679ffebd0d13cad041bc59ab7610d7699 /block/vvfat.c
parent4e28976e563ad54f6adc5ae00b1fb8224f1a82ca (diff)
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 <armbru@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'block/vvfat.c')
0 files changed, 0 insertions, 0 deletions