diff --git a/examples/chef/common/chef-fan-control-manager.cpp b/examples/chef/common/chef-fan-control-manager.cpp index 4966b431105a81..6eb3f3392c3bc7 100644 --- a/examples/chef/common/chef-fan-control-manager.cpp +++ b/examples/chef/common/chef-fan-control-manager.cpp @@ -134,7 +134,6 @@ void ChefFanControlManager::HandleFanControlAttributeChange(AttributeId attribut case FanControl::Attributes::SpeedSetting::Id: { ChipLogProgress(NotSpecified, "ChefFanControlManager::HandleFanControlAttributeChange SpeedSetting"); - // DataModel::Nullable speedSetting = static_cast>(*value); DataModel::Nullable speedSetting = NumericAttributeTraits>::StorageToWorking(*value); SetSpeedCurrent(speedSetting.IsNull() ? 0 : speedSetting.Value()); // Determine if the speed change should also change the fan mode