board-spade: fix unused function and variable warnings