From 30587760b54f727478abf211702ff15217867567 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Wed, 2 Apr 2025 12:55:22 +0530 Subject: [PATCH] modules: nrf_wifi: Remove unnecessary check The Zephyr base variable is not used below and also is deprecated and not needed to be set. Fixes #87950. Signed-off-by: Chaitanya Tata --- modules/nrf_wifi/bus/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/nrf_wifi/bus/CMakeLists.txt b/modules/nrf_wifi/bus/CMakeLists.txt index f6b52407a7d8..d822cea551d8 100644 --- a/modules/nrf_wifi/bus/CMakeLists.txt +++ b/modules/nrf_wifi/bus/CMakeLists.txt @@ -4,11 +4,6 @@ # SPDX-License-Identifier: Apache-2.0 # -# Check if ZEPHYR_BASE is set -if(NOT DEFINED ENV{ZEPHYR_BASE}) - message(FATAL_ERROR "ZEPHYR_BASE environment variable is not set. Please set it to the Zephyr base directory.") -endif() - set(NRF_WIFI_DIR ${ZEPHYR_CURRENT_MODULE_DIR}) if (CONFIG_NRF70_BUSLIB)