[PATCH] Serial: remove unnecessary register_serial/unregister_serial
A couple of drivers declare register_serial/unregister_serial prototypes but don't use them. FRV contains a commented out call to register_serial. Since these are deprecated, remove these unnecessary references. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
821fe94727
commit
7919a693bd
@@ -1973,10 +1973,6 @@ static _INLINE_ void show_serial_version(void)
|
||||
}
|
||||
|
||||
|
||||
int register_serial(struct serial_struct *req);
|
||||
void unregister_serial(int line);
|
||||
|
||||
|
||||
static struct tty_operations serial_ops = {
|
||||
.open = rs_open,
|
||||
.close = rs_close,
|
||||
|
||||
Reference in New Issue
Block a user