Commit c6aa7767 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] char/cyclades.c: remove unused code

The patch below removes unused code from drivers/char/cyclades.c
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d698ad03
......@@ -758,7 +758,6 @@ static int cy_next_channel; /* next minor available */
* allocated when the first cy_open occurs.
*/
static unsigned char *tmp_buf;
DECLARE_MUTEX(tmp_buf_sem);
/*
* This is used to look up the divisor speeds and the timeouts
......@@ -5538,24 +5537,4 @@ cy_cleanup_module(void)
module_init(cy_init);
module_exit(cy_cleanup_module);
#ifndef MODULE
/* called by linux/init/main.c to parse command line options */
void
cy_setup(char *str, int *ints)
{
#ifdef CONFIG_ISA
int i, j;
for (i = 0 ; i < NR_ISA_ADDRS ; i++) {
if (cy_isa_addresses[i] == 0) break;
}
for (j = 1; j <= ints[0]; j++){
if ( i < NR_ISA_ADDRS ){
cy_isa_addresses[i++] = ints[j];
}
}
#endif /* CONFIG_ISA */
} /* cy_setup */
#endif /* MODULE */
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment