UBI: embed ubi_debug_info field in ubi_device struct
authorEzequiel Garcia <elezegarcia@gmail.com>
Wed, 28 Nov 2012 12:18:30 +0000 (09:18 -0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 10 Dec 2012 11:38:59 +0000 (13:38 +0200)
ubi_debug_info struct was dynamically allocated which
is always suboptimal, for it tends to fragment memory
and make the code error-prone.
Fix this by embedding it in ubi_device struct.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

No differences found