spiFlash: removed unused variable (#468)

This commit is contained in:
Gwenhael Goavec-Merou 2024-07-06 08:51:28 +02:00
parent f6b6f6f9d8
commit 58cc5033f0
1 changed files with 0 additions and 1 deletions

View File

@ -894,7 +894,6 @@ int8_t SPIFlash::get_tb()
/* read status register and extract bp area */
uint8_t SPIFlash::get_bp()
{
uint8_t mask = 0;
uint8_t status = read_status_reg();
return (status & get_bp_mask());
}