]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2afc000a4901528141d354d3cca901b9ff50297
treef43fd041a790c8b20d09498a4c6b9baf40138a1b
parent1cf62d3ef77dc7f33f2e3e3474e75fbb6899024a
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