Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574661

Re: [PATCH 1/1] iommu: to avoid an unnecessary assignment

From Joerg Roedel <joro@8bytes.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] iommu: to avoid an unnecessary assignment
Date 2017-02-06 14:10 +0100
Message-ID <t7Rdo-5m6-19@gated-at.bofh.it> (permalink)
References <t6Ivv-8fS-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Feb 03, 2017 at 05:35:02PM +0800, Zhen Lei wrote:
> Move the assignment statement into if branch above, where it only
> needs to be.
> 
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>  drivers/iommu/iommu.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] iommu: to avoid an unnecessary assignment Zhen Lei <thunder.leizhen@huawei.com> - 2017-02-03 10:40 +0100
  Re: [PATCH 1/1] iommu: to avoid an unnecessary assignment Robin Murphy <robin.murphy@arm.com> - 2017-02-03 12:40 +0100
  Re: [PATCH 1/1] iommu: to avoid an unnecessary assignment Joerg Roedel <joro@8bytes.org> - 2017-02-06 14:10 +0100

csiph-web