• Artem Bityutskiy's avatar
    UBI: kill debugging buffer · 6edb9793
    Artem Bityutskiy authored
    This patch kills the 'ubi->dbg_peb_buf' debugging buffer and the
    associated mutex, because all users of this buffer are now gone.
    We are killing this buffer because we are going to switch to
    dynamic debugging control, just like in UBIFS, which means that
    CONFIG_MTD_UBI_DEBUG_PARANOID will be removed. In this case we'd
    end up always allocating 'ubi->dbg_peb_buf', which is rather large
    (128KiB or more), and this would be wasteful. Thus, we are just
    killing it.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    6edb9793
ubi.h 23.8 KB