[controlboard] remove spurious #endif