| 203 | } |
| 204 | |
| 205 | void USBToolBox::deleteProperty(IORegistryEntry* entry, const char* property) { |
| 206 | if (entry->getProperty(property)) { |
| 207 | DEBUGLOGPROV("%s exists, removing", property); |
| 208 | entry->removeProperty(property); |
| 209 | DEBUGLOGPROV("removed %s", property); |
| 210 | } else { |
| 211 | DEBUGLOGPROV("%s is null, not removing", property); |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | OSObject* USBToolBox::fixMapForTahoe(OSObject* object) { |
| 216 | OSDictionary* ports = OSDynamicCast(OSDictionary, object); |
nothing calls this directly
no outgoing calls
no test coverage detected