projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ef17f
)
tty: ar933x_uart: remove superfluous assignment of ar933x_uart_driver.nr
author
Gabor Juhos
<juhosg@openwrt.org>
Wed, 28 Aug 2013 12:21:10 +0000
(14:21 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 23:00:42 +0000
(16:00 -0700)
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>
drivers/tty/serial/ar933x_uart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/ar933x_uart.c
b/drivers/tty/serial/ar933x_uart.c
index
1052ee0
..
2d83a45
100644
(file)
--- 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;