From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 28 Dec 2020 08:25:44 -0800 Subject: [PATCH v2 05/21] test: Use a simple variable to record removed device In-Reply-To: <20201223081127.v2.5.Ie77678001e31237a1631268cf4af5f132d383e04@changeid> References: <20201223081127.v2.5.Ie77678001e31237a1631268cf4af5f132d383e04@changeid> <20201223151133.2205985-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- (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!