Bug 91781 - sound/pci/ctxfi/cthw20k1.c:1071: problem with ? :
Summary: sound/pci/ctxfi/cthw20k1.c:1071: problem with ? :
Status: NEW
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: 2015-01-22 11:09 UTC by David Binderman
Modified: 2016-04-29 15:43 UTC (History)
1 user (show)

See Also:
Kernel Version: linux-3.19-rc5
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description David Binderman 2015-01-22 11:09:38 UTC
[linux-3.19-rc5/sound/pci/ctxfi/cthw20k1.c:1071]: (style) Same expression in both branches of ternary operator.

        set_field(&ctl->spoctl, SPOCTL_OS << (idx*8),
              ((conf >> 3) & 0x1) ? 2 : 2); /* Raw */

Similar thing nearby

[linux-3.19-rc5/sound/pci/ctxfi/cthw20k2.c:1027]: (style) Same expression in both branches of ternary operator.

                       
               set_field(&ctl->txctl[idx], ATXCTL_RAW,
              ((conf >> 3) & 0x1) ? 0 : 0);

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