Hi Stephen, I think you are probably right. If the data written into NVM is never used, then the action of writing seems unnecessary.
When I look at QN9080's code, in private_profile_client example, the code is already like:
#if gAppUseBonding_d
/* Write data in NVM */
Gap_SaveCustomPeerInformation(mPeerInformation[peerDeviceId].deviceId,
(void*) &mPeerInformation[peerDeviceId].customInfo, 0,
sizeof (appCustomInfo_t));
#endif
So probably they just haven't got to update the KW36 example yet.
But anyway, the example projects are just a reference for you to understand how to use the product. The examples are not meant to be perfect, although I believe my NXP colleagues are trying