[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK=WgbbW+Kje8fMNmSAy+qM6sLcoqZcLcev8w115BfGrQzHk2A@mail.gmail.com>
Date: Fri, 18 Jan 2013 22:55:15 +0200
From: Ohad Ben-Cohen <ohad@...ery.com>
To: Cong Ding <dinggnu@...il.com>
Cc: Joerg Roedel <joro@...tes.org>, Tony Lindgren <tony@...mide.com>,
Omar Ramirez Luna <omar.luna@...aro.org>,
Mauro Carvalho Chehab <mchehab@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iommu: omap-iommu.c: remove unnecessary null pointer check
On Fri, Jan 18, 2013 at 10:42 PM, Cong Ding <dinggnu@...il.com> wrote:
> The pointer obj is dereferenced in line 146 and 149 respectively, so it is not
> necessary to check null again in line 149 and 175. And I have checked that all
> the callers of these two functions guarantee the parameter obj passed is not
> null.
>
> Signed-off-by: Cong Ding <dinggnu@...il.com>
Acked-by: Ohad Ben-Cohen <ohad@...ery.com>
--
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