Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit addcc4a1 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[PATCH] Serial: Remove {un,}register_serial from 68328serial.c



68328serial.c does not make use of register_serial/unregister_serial,
which is traditionally used to register 8250-compatible UARTs with
the 8250-compatible serial driver.

Acked-by: David McCullough
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 020f46a3
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -1497,23 +1497,6 @@ rs68328_init(void)
	return 0;
}



/*
 * register_serial and unregister_serial allows for serial ports to be
 * configured at run-time, to support PCMCIA modems.
 */
/* SPARC: Unused at this time, just here to make things link. */
int register_serial(struct serial_struct *req)
{
	return -1;
}

void unregister_serial(int line)
{
	return;
}
	
module_init(rs68328_init);