Char: cyclades, conditions cleanup
authorJiri Slaby <jirislaby@gmail.com>
Tue, 8 May 2007 07:36:59 +0000 (00:36 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:25 +0000 (11:15 -0700)
commitf742903424aae3fc7ea7079a3618d90634c0b301
tree841906118e68f4adc7bbdb8a4a0c80c1d229d9e2
parent9fa1b3b185a802fa0b3f764ad468efd64e1b582e
Char: cyclades, conditions cleanup

- 0 is not NULL
- use unlikely to hit the icache in isr more likely
- remove or comment empty if/else paths

[akpm@linux-foundation.org: build fix]
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/cyclades.c