Removed the second calling of unreserve_device().
note: r39338 added the call to ice_1712_shutdown() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39363 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f3319425ed
commit
824f5533d7
@ -451,11 +451,6 @@ uninit_driver(void)
|
|||||||
|
|
||||||
for (ix = 0; ix < cnt; ix++) {
|
for (ix = 0; ix < cnt; ix++) {
|
||||||
ice_1712_shutdown(&cards[ix]);
|
ice_1712_shutdown(&cards[ix]);
|
||||||
#ifdef __HAIKU__
|
|
||||||
(*pci->unreserve_device)(cards[ix].info.bus,
|
|
||||||
cards[ix].info.device, cards[ix].info.function,
|
|
||||||
DRIVER_NAME, &cards[ix]);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
memset(&cards, 0, sizeof(cards));
|
memset(&cards, 0, sizeof(cards));
|
||||||
put_module(B_MPU_401_MODULE_NAME);
|
put_module(B_MPU_401_MODULE_NAME);
|
||||||
|
Loading…
Reference in New Issue
Block a user