of_get_devicepath: simplify code flow
This reduces indention level and makes the code more easy to follow. There is no semantic change (but now it's obvious there is a bug which is fixed in the next commit). Fixes: d83976b8163d ("libdt: add block devicepath extraction") |
---|
|
src/libdt.c |
---|