trace: fix Coverity dead code warnings

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>