Files
linux/drivers/mtd/ubi
Richard Genoud 55b80c409a UBI: simplify image sequence test
The test:
if (!a && b)
  a = b;
can be symplified in:
if (!a)
  a = b;

And there's no need to test if ubi->image_seq is not null, because if it is,
it is set to image_seq.
So, we just test if image_seq is not null.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
2013-10-03 19:42:50 +03:00
..
2013-10-03 19:42:50 +03:00
2013-06-29 12:57:49 +04:00
2012-10-03 12:29:37 +03:00
2012-12-10 13:38:59 +02:00
2012-10-03 16:39:37 +03:00
2012-10-03 16:39:37 +03:00
2012-09-04 09:39:01 +03:00
2012-12-10 13:38:59 +02:00
2013-10-03 19:42:46 +03:00