dgibson / dtc

Device Tree Compiler
218 stars 130 forks source link

libdtc: remove duplicate judgments #72

Closed jiaxianhua closed 1 year ago

jiaxianhua commented 1 year 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 1 year ago

Merged, thanks.