[spi] remove warning