Bug 14361 - found a redundant bracket in file linux-2.6.31/arch/avr32/boards/atngw100/mrmt.c
Summary: found a redundant bracket in file linux-2.6.31/arch/avr32/boards/atngw100/mrmt.c
Status: RESOLVED OBSOLETE
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 11:10 UTC by Martin Ettl
Modified: 2013-12-10 16:52 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.5-rc2
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
should fix the issue (377 bytes, patch)
2009-10-10 11:11 UTC, Martin Ettl
Details | Diff

Description Martin Ettl 2009-10-10 11:10:32 UTC
Hello,

during the check with the static code analysis tool cppcheck (available on
sourceforge:: https://sourceforge.net/projects/cppcheck/), i found a redundant bracket in file
linux-2.6.31/arch/avr32/boards/atngw100/mrmt.c. See the attached
patch, the fixes this issue.

Best regards

Martin
Comment 1 Martin Ettl 2009-10-10 11:11:13 UTC
Created attachment 23330 [details]
should fix the issue
Comment 2 Martin Ettl 2010-12-29 00:40:59 UTC
The regression happens when the preprocessor define 'CONFIG_BOARD_MRMT_UCB1400_TS' is used.

Best regards from the cppcheck team,

Note You need to log in before you can comment on or make changes to this bug.