cyclades: remove more duplicated code
authorJiri Slaby <jirislaby@gmail.com>
Sat, 19 Sep 2009 20:13:17 +0000 (13:13 -0700)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:17 +0000 (13:13 -0700)
commit46fb782522092f772c6ce2b129f201ca6e1e15a2
treef43fd041a790c8b20d09498a4c6b9baf40138a1b
parent3aeea5b92210083c7cffd4f08a0bb141d3f2d574
cyclades: remove more duplicated code

Remove duplicated code from cy_set_line_char. There were 2 if
branches with same contents except flags.

Branch only for the flags computation and use them in the only copy
of the code.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/cyclades.c