blockdev: Remove unused DriveInfo reference count

It's always one since commit fa510eb dropped the last drive_get_ref().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Markus Armbruster 2014-06-06 14:50:59 +02:00 committed by Stefan Hajnoczi
parent 60e19e06a4
commit ae60e8e378
4 changed files with 5 additions and 21 deletions

View file

@ -76,6 +76,6 @@ void drive_hot_add(Monitor *mon, const QDict *qdict)
err:
if (dinfo) {
drive_put_ref(dinfo);
drive_del(dinfo);
}
}