MCPcopy Create free account
hub / github.com/USBToolBox/kext / deleteProperty

Method deleteProperty

USBToolBox/USBToolBox.cpp:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void 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
215OSObject* USBToolBox::fixMapForTahoe(OSObject* object) {
216 OSDictionary* ports = OSDynamicCast(OSDictionary, object);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected