lkml.org 
[lkml]   [2018]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V10 04/19] block: use bio_for_each_bvec() to map sg
> +	if (!*sg)
> + return sglist;
> + else {

No need for an else after an early return.

\
 
 \ /
  Last update: 2018-11-16 14:34    [W:1.554 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site