NMC 93cXX EEPROM: Remove the left-over NULL check in nmc_93cxx_eeperom_data().

This commit is contained in:
OBattler
2026-01-24 16:25:21 +01:00
committed by Dmitry Borisov
parent 01779aaf4e
commit 6d668558dc

View File

@@ -265,8 +265,6 @@ nmc93cxx_eeprom_close(void *priv)
uint16_t *
nmc93cxx_eeprom_data(nmc93cxx_eeprom_t *eeprom)
{
if (UNLIKELY(eeprom == NULL))
return NULL;
/* Get EEPROM data array. */
return &eeprom->dev.data[0];
}