diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-08-08 12:25:33 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2010-08-30 10:19:07 +0300 |
commit | ab87118d717467cbcd9648692c2a9708d55193bc (patch) | |
tree | d4e28ead7b0192942bd9f5665ff31fc57a572e1e /lib/devres.c | |
parent | 44ec83b8bd05d323998031f141c310127721acae (diff) | |
download | op-kernel-dev-ab87118d717467cbcd9648692c2a9708d55193bc.zip op-kernel-dev-ab87118d717467cbcd9648692c2a9708d55193bc.tar.gz |
UBIFS: do not use key type in list_sort
In comparison function for 'list_sort()' we use key type to distinguish between
node types. However, we have a bit simper way to detect node type -
'snod->type'. This more logical to use, comparing to decoding key types. Also
allows to get rid of 2 local variables.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions