drivers: spi: remove unused variables

Removed unused variables to get rid of warning

Signed-off-by: Hao Luo <hluo@ambiq.com>
1 file changed