[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131113063939.GA31149@teo>
Date: Tue, 12 Nov 2013 22:39:39 -0800
From: Anton Vorontsov <anton@...msg.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Lee Jones <lee.jones@...aro.org>,
David Woodhouse <dwmw2@...radead.org>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] pm2301-charger: remove unneeded NULL checks
On Thu, Nov 07, 2013 at 11:06:17AM +0300, Dan Carpenter wrote:
> If "pm2" were NULL we would oops printing the error message.
> Fortunately, that's not possible so I have removed the NULL checks.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks!
--
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