u-boot/disk
Marek Vasut 5ff4609f85 disk: Drop always true conditional check
if (device_get_uclass_id(dev) == UCLASS_PARTITION) is always
true, because this disk_blk_read() function calls dev_get_blk()
above and checks its return value for non-NULL. The dev_get_blk()
performs the same device_get_uclass_id(dev) check and returns NULL
if not UCLASS_PARTITION. Drop the duplicate check.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2023-08-22 15:17:52 -04:00
..
disk-uclass.c disk: Drop always true conditional check 2023-08-22 15:17:52 -04:00
Kconfig disk: Use BOOT_DEFAULTS instead of DISTRO_DEFAULTS 2023-07-17 15:38:11 -04:00
Makefile blk: Rename HAVE_BLOCK_DEVICE 2022-09-16 11:05:16 -04:00
part.c part: check CONFIG_IS_ENABLED(ENV_SUPPORT) 2023-07-30 18:51:18 +02:00
part_amiga.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_amiga.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part_dos.c Correct SPL use of CMD_MBR 2023-02-09 16:32:25 -05:00
part_dos.h disk: dos: add code for creating MBR partition layout 2021-01-15 15:33:09 -05:00
part_efi.c Correct SPL use of PARTITION_TYPE_GUID 2023-02-10 07:41:39 -05:00
part_iso.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_iso.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
part_mac.c disk: Use Makefile to omit partition drivers 2022-09-16 11:05:00 -04:00
part_mac.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00