Found by Coverity:
>>> CID
1476251: (DEADCODE)
>>> Execution cannot reach this statement: "case LTTNG_KERNEL_ABI_NOOP:".
>>> CID
1476251: (DEADCODE)
>>> Execution cannot reach this statement: "case LTTNG_KERNEL_ABI_FUNCT...".
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I16918b687fdc302a476b3d10d64da4fbd6ce95be
WARN_ON_ONCE(!ret);
break;
- case LTTNG_KERNEL_ABI_FUNCTION:
- lttng_fallthrough;
- case LTTNG_KERNEL_ABI_NOOP:
- lttng_fallthrough;
default:
WARN_ON_ONCE(1);
ret = -EINVAL;