[PATCH v2 05/21] test: Use a simple variable to record removed device

Simon Glass sjg at chromium.org
Mon Dec 28 17:25:44 CET 2020


At present the entire test state is effective passed into a test driver
just to record which device was removed. This is unnecessary and makes it
harder to track what is going on.

Use a simple boolean instead.

Also drop the unused 'removed' member while we are here.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 include/dm/test.h |  2 --
 test/dm/bus.c     | 14 ++++++--------
 2 files changed, 6 insertions(+), 10 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list