From: Julia Lawall <hidden> Date: 2011-08-04 20:48:11
On Thu, 4 Aug 2011, Bojan Prtvar wrote:
Checking for NULL pointers before kfree() is redundant.
I would find it even nicer to just add a new lavel to skip over the kfree
in the case where pm is NULL. It is statically apparent in the source
code.
julia
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: bojan prtvar <hidden> Date: 2011-08-04 21:16:57
On Thu, Aug 4, 2011 at 10:48 PM, Julia Lawall [off-list ref] wrote:
On Thu, 4 Aug 2011, Bojan Prtvar wrote:
I would find it even nicer to just add a new lavel to skip over the kfree
in the case where pm is NULL. It is statically apparent in the source
code.
Yes, it would be nicer. I'll send v2.
Regards,
Bojan
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html