serial: arm_dcc: Fix compilation warning and remove unneeded initialization
authorMichal Simek <michal.simek@xilinx.com>
Tue, 22 Jan 2013 23:40:07 +0000 (23:40 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Feb 2013 14:14:21 +0000 (09:14 -0500)
commit10ec0f8a74a35f4b601dd1c84931962b809919bb
tree85db20a5e8652f19ed36f0c77460af7cc4f280a7
parente70fb539a634ab86153353aec8a9c1fede818eb0
serial: arm_dcc: Fix compilation warning and remove unneeded initialization

- arm_dcc_dev is already initialized.
- Remove unused rc variable
Warning log:
arm_dcc.c: In function 'drv_arm_dcc_init':
arm_dcc.c:145:6: warning: unused variable 'rc' [-Wunused-variable]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/serial/arm_dcc.c