svn commit: r305054 - head/sys/dev/hyperv/netvsc
Sepherosa Ziehau
sephe at FreeBSD.org
Tue Aug 30 05:47:59 UTC 2016
Author: sephe
Date: Tue Aug 30 05:47:58 2016
New Revision: 305054
URL: https://svnweb.freebsd.org/changeset/base/305054
Log:
hyperv/hn: Remove unnecessary NULL check.
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7690
Modified:
head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
Modified: head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
==============================================================================
--- head/sys/dev/hyperv/netvsc/hv_rndis_filter.c Tue Aug 30 05:35:19 2016 (r305053)
+++ head/sys/dev/hyperv/netvsc/hv_rndis_filter.c Tue Aug 30 05:47:58 2016 (r305054)
@@ -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);
}
More information about the svn-src-head
mailing list