hyperv/hn: Remove unnecessary NULL check.
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7690
This commit is contained in:
parent
55b4260579
commit
2f84fd716e
@ -839,10 +839,8 @@ hv_rf_init_device(struct hn_softc *sc)
|
||||
1U << comp->rm_align);
|
||||
}
|
||||
error = 0;
|
||||
|
||||
done:
|
||||
if (xact != NULL)
|
||||
vmbus_xact_put(xact);
|
||||
vmbus_xact_put(xact);
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user