diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-05-09 03:11:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 11:56:30 -0400 |
commit | 322b7d6d3efd34c7da858b27d7a410b84a9ed6db (patch) | |
tree | 9ae8203df98f8b1c578cb06289a44869e431f694 /drivers/tty/cyclades.c | |
parent | a2a5f1a2d23b453e2f11c10928c54b282fbe6147 (diff) |
tty: cyclades+mxser, do not initialize to zero
Do not initialize members of initialized structures to zero. They are
zeroed automatically.
Part of hub6 cleanup series.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/cyclades.c')
-rw-r--r-- | drivers/tty/cyclades.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c index 3840d6b421c4..fcc4962fa4c6 100644 --- a/drivers/tty/cyclades.c +++ b/drivers/tty/cyclades.c | |||
@@ -2288,7 +2288,6 @@ static int cy_get_serial_info(struct cyclades_port *info, | |||
2288 | .closing_wait = info->port.closing_wait, | 2288 | .closing_wait = info->port.closing_wait, |
2289 | .baud_base = info->baud, | 2289 | .baud_base = info->baud, |
2290 | .custom_divisor = info->custom_divisor, | 2290 | .custom_divisor = info->custom_divisor, |
2291 | .hub6 = 0, /*!!! */ | ||
2292 | }; | 2291 | }; |
2293 | return copy_to_user(retinfo, &tmp, sizeof(*retinfo)) ? -EFAULT : 0; | 2292 | return copy_to_user(retinfo, &tmp, sizeof(*retinfo)) ? -EFAULT : 0; |
2294 | } | 2293 | } |