u-boot/drivers
Masahiro Yamada 84a7153733 dm: core: remove meaningless if conditional
If the variable "ret" is equal to "-ENOENT", it is trapped at [1] and
never reaches [2].  At [3], the condition "ret != -ENOENT" is always
true.

  if (ret == -ENOENT) {                       <------------------ [1]
          continue;
  } else if (ret == -ENODEV) {
          dm_dbg("Device '%s' has no compatible string\n", name);
          break;
  } else if (ret) {                           <------------------ [2]
          dm_warn("Device tree error at offset %d\n", offset);
          if (!result || ret != -ENOENT)      <------------------ [3]
                  result = ret;
          break;
  }

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-11-22 10:16:48 +01:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block dwc_ahsata: use bitwise operator in sata_port_status 2014-10-28 12:39:59 -04:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: core: remove meaningless if conditional 2014-11-22 10:16:48 +01:00
crypto crypto/fsl: Add command for encapsulating/decapsulating blobs 2014-10-16 14:20:40 -07:00
ddr/fsl driver/ddr/fsl: Fix DDR4 driver 2014-09-25 08:36:20 -07:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu dm: Add spi.h header to a few files 2014-10-22 10:36:47 -06:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga arm: socfpga: fpga: Add SoCFPGA FPGA programming interface 2014-10-06 17:46:50 +02:00
gpio dm: at91: Add driver model support for atmel GPIO driver 2014-11-21 08:08:19 +01:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c blackfin: convert to use CONFIG_SYS_I2C framework 2014-11-17 08:10:37 +01:00
input tegra: make local functions static 2014-10-25 07:27:37 -04:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc cros_ec: Fix uninitialised variable in cros_ec.c 2014-11-22 10:16:48 +01:00
mmc sort drivers/mmc/Makefile 2014-11-07 16:27:04 -05:00
mtd dm: spi: Use device_bind_driver() instead of our own function 2014-11-22 10:16:48 +01:00
net net: macb: enable GMAC IP without GE feature support 2014-11-17 08:47:18 -05:00
pci pci: use __weak 2014-10-25 07:01:59 -04:00
pcmcia kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
power sun6i: Add basic axp221 driver 2014-11-13 14:49:01 +01:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
rtc arm: marvell: Move arch/kirkwood.h to arch/soc.h 2014-10-23 09:59:20 -04:00
serial dm: tegra: Add platform data for the SPL uart 2014-11-21 08:14:02 +01:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi dm: spi: Use device_bind_driver() instead of our own function 2014-11-22 10:16:48 +01:00
tpm kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2014-11-13 10:35:13 -05:00
video video: speedup writing strings to fb console 2014-10-30 21:45:25 +01:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile soc: keystone_serdes: create a separate SGMII SerDes driver 2014-10-23 11:27:28 -04:00