Searched hist:cba34aafde5f50e61d242f86bd4d214207ec7ca7 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | cfi_flash.c | cba34aafde5f50e61d242f86bd4d214207ec7ca7 Mon Aug 30 09:14:38 UTC 2010 Stefan Roese <sr@denx.de> 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>
|