Remove redundant not-null test
Reported-by: Ranier Vilela
Discussion:
Author: Ranier Vilela
Backpatch-through: master
@@ -2434,7 +2434,7 @@ ExecComputeSlotInfo(ExprState *state, ExprEvalStep *op)
{
desc = parent->scandesc;
- if (parent && parent->scanops)
+ if (parent->scanops)
tts_ops = parent->scanops;
if (parent->scanopsset)
