storage/flash_area: Remove unused field fa_device_id

The field has never been populated and was used by shell
and MCUboot. MCUboot Zephyr code has been changed some
time ago and no longer uses the field, flash_map shell
also no longer uses it, so it can be removed now.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2022-12-16 15:01:49 +00:00 committed by Carles Cufí
parent 77f21ce966
commit 68408bbcd0

View File

@ -56,8 +56,6 @@ extern "C" {
struct flash_area {
/** ID number */
uint8_t fa_id;
/** Provided for compatibility with MCUboot */
uint8_t fa_device_id;
uint16_t pad16;
/** Start offset from the beginning of the flash device */
off_t fa_off;