[misc] Remove unused code