dtbhtool: fix unused variable 'model' warning

Change-Id: I0ac347428d01789622487d803ae13d433240063c
This commit is contained in:
Stricted 2018-09-24 20:50:26 +02:00
parent 1ecbe8674b
commit 3336e04a63
No known key found for this signature in database
GPG Key ID: 3E45BB95F7AD33DA

View File

@ -126,7 +126,9 @@ void *load_dtbh_block(const char *dtb_path, unsigned pagesize, unsigned *_sz)
uint32_t version = DTBH_VERSION;
unsigned blob_sz = 0;
char fname[PATH_MAX];
#ifdef DTBH_MODEL
const unsigned *model;
#endif
const unsigned *prop_chip;
const unsigned *prop_platform;
const unsigned *prop_subtype;