drivers/video/uvesafb.c: 6 * redundant condition
From: d binderman <hidden>
Date: 2010-02-21 10:19:38
Attachments
- bug34.patch [text/x-patch] 1256 bytes · preview
From: d binderman <hidden>
Date: 2010-02-21 10:19:38
Hello there, I just ran the sourceforge tool cppcheck over the source code of the new Linux kernel 2.6.33-rc8 It said [./drivers/video/uvesafb.c:238]: (style) Redundant condition. It is safe to deallocate a NULL pointer [./drivers/video/uvesafb.c:1321]: (style) Redundant condition. It is safe to deallocate a NULL pointer [./drivers/video/uvesafb.c:1799]: (style) Redundant condition. It is safe to deallocate a NULL pointer [./drivers/video/uvesafb.c:1822]: (style) Redundant condition. It is safe to deallocate a NULL pointer [./drivers/video/uvesafb.c:1824]: (style) Redundant condition. It is safe to deallocate a NULL pointer [./drivers/video/uvesafb.c:1826]: (style) Redundant condition. It is safe to deallocate a NULL pointer I checked the source code and I agree with cppcheck. Patch file attached. Regards David Binderman _________________________________________________________________ Do you have a story that started on Hotmail? Tell us now http://clk.atdmt.com/UKM/go/195013117/direct/01/