]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: remove unnecessary stack variable
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sat, 14 May 2011 14:37:47 +0000 (17:37 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 16 May 2011 07:31:40 +0000 (10:31 +0300)
commit7e3e3c07d92c1ed29a2a4228538d08f29b480b5a
tree58730ff8615d2a82fc52566cb235ce053437c0f1
parent5717d317c0f721f76c0947220073cd3ea0b52102
UBIFS: remove unnecessary stack variable

This is patch removes an unnecessary 'offs' variable from 'ubifs_wbuf_write_nolock()'
- we can just keep 'wbuf->offs' up-to-date instead. This patch is very minor
the only motivation for it was that it is cleaner to keep wbuf->offs up-to-date
by the time we call 'ubifs_leb_write()'.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/io.c