removing location services

I have a custom nRF9160 application running based on asset_tracker_v2. It is working perfectly but I am seeing location error messages. The nRF9160 we have does not have GPS capability. I wanted to remove all references to GPS or location. I thought I did that in the prj.conf (see below) but I still see the message shown below. what am I doing wrong. What do I need to do to remove this message. It does not seem to affect operation. I am publishing data to AWS with no problems and the cod is running fine except for these occasional error messages.

[00:01:13.294,464] <wrn> location: Modem's system or functional mode doesn't allow GNSS usage
[00:01:13.294,799] <err> location: Failed to configure GNSS

in prj.conf

# Location related configuration
#CONFIG_LOCATION=y
CONFIG_LOCATION=n
#CONFIG_LOCATION_REQUEST_DEFAULT_METHOD_FIRST_GNSS=y
CONFIG_LOCATION_REQUEST_DEFAULT_METHOD_FIRST_GNSS=n
#CONFIG_LOCATION_REQUEST_DEFAULT_METHOD_SECOND_CELLULAR=y
CONFIG_LOCATION_REQUEST_DEFAULT_METHOD_SECOND_CELLULAR=n
#CONFIG_LOCATION_REQUEST_DEFAULT_GNSS_TIMEOUT=90000
CONFIG_LOCATION_REQUEST_DEFAULT_GNSS_TIMEOUT=180000
CONFIG_LOCATION_DATA_DETAILS=y
#CONFIG_LOCATION_LOG_LEVEL_WRN=y
CONFIG_LOCATION_LOG_LEVEL_WRN=n

Related