truss: remove write-only variable
(cherry picked from commit ba33c288488d4543d1a140cd5c44b8b3c4c29915)