• Felipe Balbi's avatar
    scripts: dtc: fix compile warnings · db7f4e3d
    Felipe Balbi authored
    Fix following compile warnings:
    
    scripts/dtc/flattree.c: In function ‘flat_read_mem_reserve’:
    scripts/dtc/flattree.c:700:14: warning: variable ‘p’ set but not used
    	[-Wunused-but-set-variable]
    
    scripts/dtc/dtc.c: In function ‘main’:
    scripts/dtc/dtc.c:104:17: warning: variable ‘check’ set but not used
    	[-Wunused-but-set-variable]
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    db7f4e3d
dtc.c 6.78 KB