Re: [PATCH V10 04/19] block: use bio_for_each_bvec() to map sg
From: Ming Lei
Date: Mon Nov 19 2018 - 02:52:24 EST
On Fri, Nov 16, 2018 at 02:33:14PM +0100, Christoph Hellwig wrote:
> > + if (!*sg)
> > + return sglist;
> > + else {
>
> No need for an else after an early return.
OK, good catch!
Thanks,
Ming