UBIFS: remove unnecessary check
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 29 Jun 2014 14:22:16 +0000 (17:22 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 19 Jul 2014 06:54:25 +0000 (09:54 +0300)
commitf1cb705accc70ac327de2108ecf07b300e03fc42
treefa6d96338de7b5ca284d51853e8d58b9b66b4b06
parent07e19dff63e3d5d6500d831e36554ac9b1b0560e
UBIFS: remove unnecessary check

Remove the "if (c->lhead_offs == 0)" check because is unnecessary, since
at that point the log head offset is guaranteed to be zero due to the previous
operation.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/log.c