Re: [PATCH v2 1/2] befs: remove unused BEFS_BT_MATCH

2016-08-06 Thread Salah Triki
On Fri, Aug 05, 2016 at 01:41:20PM +0100, Luis de Bethencourt wrote: > befs_btree_find(), the only caller of befs_find_key(), only cares about if > the return from that function is BEFS_BT_MATCH or not. It never uses the > partial match given with BEFS_BT_MATCH. Removing that return and don't set

Re: [PATCH v2 1/2] befs: remove unused BEFS_BT_MATCH

2016-08-06 Thread Salah Triki
On Fri, Aug 05, 2016 at 01:41:20PM +0100, Luis de Bethencourt wrote: > befs_btree_find(), the only caller of befs_find_key(), only cares about if > the return from that function is BEFS_BT_MATCH or not. It never uses the > partial match given with BEFS_BT_MATCH. Removing that return and don't set

Re: [PATCH v2 1/2] befs: remove unused BEFS_BT_MATCH

2016-08-06 Thread Luis de Bethencourt
On 06/08/16 19:34, Salah Triki wrote: > On Fri, Aug 05, 2016 at 01:41:20PM +0100, Luis de Bethencourt wrote: >> befs_btree_find(), the only caller of befs_find_key(), only cares about if >> the return from that function is BEFS_BT_MATCH or not. It never uses the >> partial match given with

Re: [PATCH v2 1/2] befs: remove unused BEFS_BT_MATCH

2016-08-06 Thread Luis de Bethencourt
On 06/08/16 19:34, Salah Triki wrote: > On Fri, Aug 05, 2016 at 01:41:20PM +0100, Luis de Bethencourt wrote: >> befs_btree_find(), the only caller of befs_find_key(), only cares about if >> the return from that function is BEFS_BT_MATCH or not. It never uses the >> partial match given with

[PATCH v2 1/2] befs: remove unused BEFS_BT_MATCH

2016-08-05 Thread Luis de Bethencourt
befs_btree_find(), the only caller of befs_find_key(), only cares about if the return from that function is BEFS_BT_MATCH or not. It never uses the partial match given with BEFS_BT_MATCH. Removing that return and don't set the value that will go unused. Signed-off-by: Luis de Bethencourt

[PATCH v2 1/2] befs: remove unused BEFS_BT_MATCH

2016-08-05 Thread Luis de Bethencourt
befs_btree_find(), the only caller of befs_find_key(), only cares about if the return from that function is BEFS_BT_MATCH or not. It never uses the partial match given with BEFS_BT_MATCH. Removing that return and don't set the value that will go unused. Signed-off-by: Luis de Bethencourt --- v2: