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:
sephe 2016-08-30 05:47:58 +00:00
parent 55b4260579
commit 2f84fd716e

View File

@ -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);
}