hyperv/vmbus: Minor function definition style fixup

Reviewed by:	Jun Su <junsu microsoft com>
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6417
This commit is contained in:
sephe 2016-05-18 07:09:44 +00:00
parent e0c2d90f64
commit 60d602f8ed
2 changed files with 8 additions and 4 deletions

View File

@ -149,7 +149,8 @@ hv_vmbus_negotiate_version(hv_vmbus_channel_msg_info *msg_info,
* Send a connect request on the partition service connection
*/
int
hv_vmbus_connect(void) {
hv_vmbus_connect(void)
{
int ret = 0;
uint32_t version;
hv_vmbus_channel_msg_info* msg_info = NULL;
@ -271,7 +272,8 @@ hv_vmbus_connect(void) {
* Send a disconnect request on the partition service connection
*/
int
hv_vmbus_disconnect(void) {
hv_vmbus_disconnect(void)
{
int ret = 0;
hv_vmbus_channel_unload msg;
@ -395,7 +397,8 @@ int hv_vmbus_post_message(void *buffer, size_t bufferLen)
* Send an event notification to the parent
*/
int
hv_vmbus_set_event(hv_vmbus_channel *channel) {
hv_vmbus_set_event(hv_vmbus_channel *channel)
{
int ret = 0;
uint32_t child_rel_id = channel->offer_msg.child_rel_id;

View File

@ -346,7 +346,8 @@ hv_vmbus_child_device_unregister(struct hv_device *child_dev)
}
static int
vmbus_probe(device_t dev) {
vmbus_probe(device_t dev)
{
if (ACPI_ID_PROBE(device_get_parent(dev), dev, vmbus_ids) == NULL ||
device_get_unit(dev) != 0)
return (ENXIO);