Thread (5 messages) 5 messages, 3 authors, 2018-09-14

Re: [PATCHv3 2/2] btrfs: change remove_extent_mapping to be void function

From: David Sterba <hidden>
Date: 2018-09-14 14:16:51
Also in: lkml

On Thu, Sep 13, 2018 at 11:01:15AM +0800, zhong jiang wrote:
remove_extent_mapping use the variable "ret" for return value,
but it is not modified after initialzation. Further, I find that
any of the callers do not handle the return value, so it is safe
to drop the unneeded "ret" and make it to be void function.

Signed-off-by: zhong jiang <redacted>
Reviewed-by: David Sterba <dsterba@suse.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help