dgibson / dtc

Device Tree Compiler
235 stars 134 forks source link

libdtc: remove duplicate judgments #72

Closed jiaxianhua closed 2 years ago

jiaxianhua commented 2 years ago

There is no need to check the VALID_DTB repeatedly, and can be combined into one if statement.

Signed-off-by: Jia Xianhua jiaxianhua@gmail.com

dgibson commented 2 years ago

Merged, thanks.