]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UBIFS: remove unused and unneeded debugging function
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Jun 2011 08:32:21 +0000 (11:32 +0300)
committerArtem Bityutskiy <dedekind1@gmail.com>
Mon, 4 Jul 2011 07:54:32 +0000 (10:54 +0300)
commit891a54a153646f9b16bffe5df6cb74cb3f1e9dc6
treee61849c41a6301e6bfb757ec043b9debc5160963
parente7717060ddd509e6c305ad7bf5a090a95e91c8cf
UBIFS: remove unused and unneeded debugging function

This patch contains several minor clean-up and preparational cahnges.

1. Remove 'dbg_read()', 'dbg_write()', 'dbg_change()', and 'dbg_leb_erase()'
   functions as they are not used.
2. Remove 'dbg_leb_read()' and 'dbg_is_mapped()' as they are not really needed,
   it is fine to let reads go through in failure mode.
3. Rename 'offset' argument to 'offs' to be consistent with the rest of UBIFS
   code.

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