1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00

Fix couple of style nits.

This commit is contained in:
Jung-uk Kim 2012-03-29 19:29:24 +00:00
parent 5757b18266
commit 64d87e5bf2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233678

View File

@ -3894,7 +3894,7 @@ pci_describe_device(device_t dev)
if ((desc = malloc(strlen(vp) + strlen(dp) + 3, M_DEVBUF, M_NOWAIT)) !=
NULL)
sprintf(desc, "%s, %s", vp, dp);
out:
out:
if (vp != NULL)
free(vp, M_DEVBUF);
if (dp != NULL)
@ -4170,7 +4170,7 @@ pci_reserve_map(device_t dev, device_t child, int type, int *rid,
count, *rid, type, rman_get_start(res));
map = rman_get_start(res);
pci_write_bar(child, pm, map);
out:;
out:
return (res);
}