Remove unreferenced variable

`pwmX` is never used. The compiler appears to optimize this away, but let's remove it anyway to keep the code as clean as possible.