git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: Cleanup redundant tests on unsigned
[pandora-kernel.git]
/
sound
/
pci
/
ctxfi
/
ctatc.c
diff --git
a/sound/pci/ctxfi/ctatc.c
b/sound/pci/ctxfi/ctatc.c
index
b1b3a64
..
6bfce99
100644
(file)
--- a/
sound/pci/ctxfi/ctatc.c
+++ b/
sound/pci/ctxfi/ctatc.c
@@
-240,7
+240,7
@@
static int select_rom(unsigned int pitch)
} else if (pitch == 0x02000000) {
/* pitch == 2 */
return 3;
- } else if (pitch
>= 0x0 && pitch
<= 0x08000000) {
+ } else if (pitch <= 0x08000000) {
/* 0 <= pitch <= 8 */
return 0;
} else {