• Artem Bityutskiy's avatar
    UBI: remove duplicate IO error codes · 74d82d26
    Artem Bityutskiy authored
    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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    74d82d26
io.c 40.5 KB