mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-07-07 15:01:59 +00:00
dm: core: Drop uclass_find_next_free_req_seq() conditions
These conditions are not needed and just reduce build coverage. Drop them. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
903e83ee84
commit
9ff5e0495d
1 changed files with 0 additions and 4 deletions
|
@ -271,9 +271,6 @@ int uclass_find_device_by_name(enum uclass_id id, const char *name,
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !CONFIG_IS_ENABLED(OF_CONTROL) || \
|
|
||||||
CONFIG_IS_ENABLED(OF_PLATDATA) || \
|
|
||||||
CONFIG_IS_ENABLED(OF_PRIOR_STAGE)
|
|
||||||
int uclass_find_next_free_req_seq(enum uclass_id id)
|
int uclass_find_next_free_req_seq(enum uclass_id id)
|
||||||
{
|
{
|
||||||
struct uclass *uc;
|
struct uclass *uc;
|
||||||
|
@ -295,7 +292,6 @@ int uclass_find_next_free_req_seq(enum uclass_id id)
|
||||||
|
|
||||||
return max + 1;
|
return max + 1;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
int uclass_find_device_by_seq(enum uclass_id id, int seq_or_req_seq,
|
int uclass_find_device_by_seq(enum uclass_id id, int seq_or_req_seq,
|
||||||
bool find_req_seq, struct udevice **devp)
|
bool find_req_seq, struct udevice **devp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue