commit | 5a85e89a0abf816e9b26139a12734724c8b50247 | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Tue Jun 17 22:47:31 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Fri Jul 18 17:53:22 2014 -0400 |
tree | b4b123726d6bf63c3dc7920f26938e7256bcd9f3 | |
parent | 17b6bf1e5f09509a141112e4807997d153d640e3 [diff] |
mtd: cfi_flash: fix clang warning clang warns this check is silly; it is since s is a local variable. u-boot/drivers/mtd/cfi_flash.c:2363:13: warning: comparison of array 's' not equal to a null pointer is always true else if ((s != NULL) && (strcmp(s, "yes") == 0)) { cc: Stefan Roese <sr@denx.de> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>