• A
    UBI: remove duplicate IO error codes · 74d82d26
    Artem Bityutskiy 提交于
    The 'UBI_IO_PEB_EMPTY' and 'UBI_IO_PEB_FREE' are essentially the same
    and mean that there are only 0xFF bytes instead of headers. Simplify
    UBI a little by turning them into a single 'UBI_IO_FF' error code.
    
    Also, stop maintaining commentaries in 'ubi_io_read_vid_hdr()' which are
    almost identical to commentaries in 'ubi_io_read_ec_hdr()'.
    Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    74d82d26
ubi.h 23.3 KB