diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-08-17 22:49:42 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-08-17 22:57:00 +1000 |
commit | 1590e5814c14c4de4a6accfe9156eb1ce4d1d392 (patch) | |
tree | e3d8a5db460dd11ab281cfb0f8ddafac0406bc14 /libflash/libffs.c | |
parent | 2220c238426e96f5bbe2aa6cc49e79e43478c1ac (diff) | |
download | skiboot-1590e5814c14c4de4a6accfe9156eb1ce4d1d392.zip skiboot-1590e5814c14c4de4a6accfe9156eb1ce4d1d392.tar.gz skiboot-1590e5814c14c4de4a6accfe9156eb1ce4d1d392.tar.bz2 |
Add skiboot-5.1.0 release notesskiboot-5.1.0
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libflash/libffs.c')
-rw-r--r-- | libflash/libffs.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libflash/libffs.c b/libflash/libffs.c index 3010a61..0164071 100644 --- a/libflash/libffs.c +++ b/libflash/libffs.c @@ -144,13 +144,7 @@ int ffs_init(uint32_t offset, uint32_t max_size, struct blocklevel_device *bl, uint32_t start, total_size; bool ecc; for (i = 0; i < f->hdr.entry_count; i++) { - rc = ffs_part_info(f, i, NULL, &start, &total_size, - NULL, &ecc); - if (rc) { - FL_ERR("FFS: Failed to read ffs partition %d\n", - i); - goto out; - } + ffs_part_info(f, i, NULL, &start, &total_size, NULL, &ecc); if (ecc) { rc = blocklevel_ecc_protect(bl, start, total_size); if (rc) { |