diff options
author | Stefan Roese <sr@denx.de> | 2010-08-30 11:14:38 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-09-20 15:08:33 +0200 |
commit | cba34aafde5f50e61d242f86bd4d214207ec7ca7 (patch) | |
tree | ef577761c161ea3fd6c70ad0674bccd9882a0ce9 /board/bf561-acvilon | |
parent | ff377b1c0e891569b6da13629090aad7c38175e0 (diff) | |
download | u-boot-imx-cba34aafde5f50e61d242f86bd4d214207ec7ca7.zip u-boot-imx-cba34aafde5f50e61d242f86bd4d214207ec7ca7.tar.gz u-boot-imx-cba34aafde5f50e61d242f86bd4d214207ec7ca7.tar.bz2 |
cfi_flash: Simplify flash_get_info()
This patch removes an unecessary check in the return statement. This is
not needed, since "info" is initializes to NULL. And "info" will not be
written to again, if the flash address is not found.
Additionally "info" is not initialized to "0" but to "NULL".
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/bf561-acvilon')
0 files changed, 0 insertions, 0 deletions