hw/char/exynos4210_uart: Drop unused local variable frame_size
commite62694a078f182c822a7b6d3976b1bcc72e78ec2
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 27 Jan 2017 15:20:25 +0000 (27 15:20 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 27 Jan 2017 15:29:08 +0000 (27 15:29 +0000)
tree8254cd5cc305298444351f6e396528ab0c2784b2
parentd05a86285cacdcbfdd97e437d156545666fa5641
hw/char/exynos4210_uart: Drop unused local variable frame_size

The frame_size local variable in exynos4210_uart_update_parameters()
is calculated but never used (and has been this way since the
device was introduced in commit e5a4914efc7). The qemu_chr_fe_ioctl()
doesn't need this information (if it really wanted it it could
calculate it from the parity/data_bits/stop_bits), so just drop
the variable entirely.

Fixes: https://bugs.launchpad.net/bugs/1655702

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1484589515-26353-1-git-send-email-peter.maydell@linaro.org
hw/char/exynos4210_uart.c