fs: befs: Remove redundant validation from befs_find_brun_direct
authorSalah Triki <salah.triki@gmail.com>
Wed, 27 Jul 2016 03:11:52 +0000 (04:11 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:19 +0000 (10:01 +0100)
commitd84e4a5a09c320e209789d263a26617f6f7324e3
tree2f19618dddb33296e438a10fb0f3bc303acd0335
parent2dfa8a6e56f63d2f6c479e7b65ef087e892280e9
fs: befs: Remove redundant validation from befs_find_brun_direct

The only caller of befs_find_brun_direct is befs_fblock2brun, which
already validates that the block is within the range of direct blocks.
So remove the duplicate validation.

Signed-off-by: Salah Triki <salah.triki@gmail.com>
Acked-by: Luis de Bethencourt <luisbg@osg.samsung.com>
fs/befs/datastream.c