The CrowdDetox plugin for Hex-Rays automatically removes junk code and variables from Hex-Rays function decompilations.