diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-28 14:21:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-28 16:00:42 -0700 |
commit | 0710e5626f524a26fe5992adb91a6289b2139928 (patch) | |
tree | d585dbe6630ff6e3d0969b85a474c47a71a4f7ba /drivers/tty | |
parent | 15ef17f622033455dcf03ae96256e474073a7b11 (diff) |
tty: ar933x_uart: remove superfluous assignment of ar933x_uart_driver.nr
The 'nr' field of the 'ar933x_uart_driver' structure
is already initialized with the same value in the static
declaration. Remove the superfluous assignment in the
module init routine.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/ar933x_uart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 1052ee0383e..2d83a45dcc8 100644 --- a/drivers/tty/serial/ar933x_uart.c +++ b/drivers/tty/serial/ar933x_uart.c @@ -730,7 +730,6 @@ static int __init ar933x_uart_init(void) { int ret; - ar933x_uart_driver.nr = CONFIG_SERIAL_AR933X_NR_UARTS; ret = uart_register_driver(&ar933x_uart_driver); if (ret) goto err_out; |