lkml.org 
[lkml]   [2019]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v2 2/3] iommu: optimize iova_magazine_free_pfns()
> +	return (mag && mag->size == IOVA_MAG_SIZE);

> + return (!mag || mag->size == 0);

No need for the braces in both cases.

\
 
 \ /
  Last update: 2019-12-02 17:59    [W:0.071 / U:1.608 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site