Remove unused types and IOCTL defines