host/mesh: Remove lpn timeout param check
param can never be NULL here, so the check is redundant. Coverity is
complaining because param is accessed before the NULL check.
This is port of
@@ -863,7 +863,7 @@ static int lpn_timeout_status(struct bt_mesh_model *model, struct bt_mesh_msg_ct
return -ENOENT;
}
- if (param && param->polltimeout) {
+ if (param->polltimeout) {
*param->polltimeout = polltimeout;
}
