c
if (adev != NULL) {
    if (!adev->kfd.init_complete) {
        // ... rest of the code
    }
}
