[dm-devel] [PATCH V10 04/19] block: use bio_for_each_bvec() to map sg

Ming Lei ming.lei at redhat.com
Mon Nov 19 07:51:55 UTC 2018


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




More information about the dm-devel mailing list