summaryrefslogtreecommitdiff
path: root/src/drivers/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/wifi')
-rw-r--r--src/drivers/wifi/generic/generic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/drivers/wifi/generic/generic.c b/src/drivers/wifi/generic/generic.c
index a6936f1d11..5aaedaeafe 100644
--- a/src/drivers/wifi/generic/generic.c
+++ b/src/drivers/wifi/generic/generic.c
@@ -43,11 +43,7 @@ struct device_operations wifi_cnvi_ops = {
static bool is_cnvi(const struct device *dev)
{
-#if !DEVTREE_EARLY
- return dev && dev->ops == &wifi_cnvi_ops;
-#else
return dev && dev->path.type != DEVICE_PATH_PCI;
-#endif
}
bool wifi_generic_cnvi_ddr_rfim_enabled(const struct device *dev)