Re: [PATCH 8/14] drivers/platform/x86/thinkpad_acpi.c: delete double assignment

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Julia Lawall
Date: Tuesday, October 26, 2010 - 10:03 pm

On Tue, 26 Oct 2010, Henrique de Moraes Holschuh wrote:


I didn't look for the original source of the problem, except in the case 
of [PATCH 6/14] arch/mips/pmc-sierra/yosemite/setup.c where I found it 
already in the pre-git era.  Thanks fo rthe suggestion.  On the other 
hand, I was very selective about which code I changed.  In particular I 
left a number of cases like:

x = NULL; // or 0 etc
x = foo(...); // ie a NULL returning function

I figured that this isn't hurting anything, and perhaps it is informative 
about what kind of value foo might return.

julia
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/14] delete double assignment, Julia Lawall, (Tue Oct 26, 3:25 am)
[PATCH 1/14] drivers/staging: delete double assignment, Julia Lawall, (Tue Oct 26, 3:25 am)
[PATCH 10/14] drivers/isdn: delete double assignment, Julia Lawall, (Tue Oct 26, 3:25 am)
Re: [PATCH 3/14] drivers/vhost/vhost.c: delete double assi ..., Michael S. Tsirkin, (Tue Oct 26, 4:06 am)
Re: [PATCH 8/14] drivers/platform/x86/thinkpad_acpi.c: del ..., Henrique de Moraes H ..., (Tue Oct 26, 6:09 pm)
Re: [ibm-acpi-devel] [PATCH 8/14] drivers/platform/x86/thi ..., Henrique de Moraes H ..., (Tue Oct 26, 6:24 pm)
Re: [PATCH 8/14] drivers/platform/x86/thinkpad_acpi.c: del ..., Julia Lawall, (Tue Oct 26, 10:03 pm)
Re: [PATCH 10/14] drivers/isdn: delete double assignment, David Miller, (Wed Oct 27, 12:24 pm)
Re: [PATCH 8/14] drivers/platform/x86/thinkpad_acpi.c: del ..., Henrique de Moraes H ..., (Wed Oct 27, 2:42 pm)