[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CE1DB7F.1020408@codeaurora.org>
Date: Mon, 15 Nov 2010 17:16:47 -0800
From: Stepan Moskovchenko <stepanm@...eaurora.org>
To: Daniel Walker <dwalker@...eaurora.org>
CC: davidb@...eaurora.org, bryanh@...eaurora.org,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 14/14] msm: iommu: Miscellaneous code cleanup
On 11/15/2010 4:25 PM, Daniel Walker wrote:
> On Fri, 2010-11-12 at 19:30 -0800, Stepan Moskovchenko wrote:
>> Remove some unneeded assignments and messages, restructure
>> a failure path in iova_to_phys, and make __flush_iotlb
>> return int in preparation for adding IOMMU clock control.
> Why restructure the failure path ?
>
> Daniel
It is a trivial change of replacing a goto with an assignment and moving
it a few lines down. It reduces "jumpiness" within that function and is
a cleaner version. On the more practical side, it was done in
preparation for some other changes I have coming up, which touch that
function and work a lot better with the cleaned-up failure path. The
next patch was delayed (due to a dependency) but as long as I was doing
code cleanup, I saw no reason not to also clean up the failure path as
part of this series.
Steve
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists