Char: cyclades, simplify variables initialization
authorJiri Slaby <jirislaby@gmail.com>
Tue, 8 May 2007 07:36:46 +0000 (00:36 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:25 +0000 (11:15 -0700)
commit3046d50ea58676759453faeefccf57fbc9b72a90
tree957a990822e43aa21c93aac0513734b658bbf308
parent31b4f0a118a7ade8444059ec898af8f07de206e9
Char: cyclades, simplify variables initialization

- do not init static variables to 0
- simplify cy_init_card -- use memset(0) and do not zero each element
  separately, also reorder init, so that same entries are inited at one
  place

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