summaryrefslogtreecommitdiff
path: root/compr_zlib.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-08-19 10:07:54 -0700
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-08-23 09:27:50 +0300
commit56db38eb2a2642aea87bb9c5dd247bd4f383eb64 (patch)
tree7d313990e3aca2e2649f3fd5bc6ef5da9463bd98 /compr_zlib.c
parentb09ea01faa06ab5d037ba347b95324b042b8c352 (diff)
nandwrite: cleanup "oobinfochanged" leftovers
We don't really use oobinfochanged anymore, since all the calls to the MEMSETOOBSEL ioctls are gone. The remaining usage of it is superfluous now, as the only case where it is changed is under the "noecc" condition and the only case where it is tested is under the "!noecc" condition. We also no longer need the "restoreoob" label and can instead simply close everything done with the single remaining label, "closeall". Note that `close(-1)' is legal, although useless. Finally, we move `old_oobinfo' into the only block of code in which it's used now. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'compr_zlib.c')
0 files changed, 0 insertions, 0 deletions