summaryrefslogtreecommitdiffstats
path: root/drivers/serial/8250_pci.c
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-12-07 18:11:26 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-12-07 18:11:26 +0000
commitc2cd6d3c122798c39f63e21e4dd04ee5790010b6 (patch)
tree3fe06528fa7108dbcc6424689b4edc2dbbf47e7a /drivers/serial/8250_pci.c
parente4f5c82a92c2a546a16af1614114eec19120e40a (diff)
downloadop-kernel-dev-c2cd6d3c122798c39f63e21e4dd04ee5790010b6.zip
op-kernel-dev-c2cd6d3c122798c39f63e21e4dd04ee5790010b6.tar.gz
[SERIAL] 8250_pci: Remove redundant assignment, and mark fallthrough.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/serial/8250_pci.c')
-rw-r--r--drivers/serial/8250_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c
index 8d92adf..8adca0c 100644
--- a/drivers/serial/8250_pci.c
+++ b/drivers/serial/8250_pci.c
@@ -516,7 +516,7 @@ pci_timedia_setup(struct serial_private *priv, struct pciserial_board *board,
break;
case 3:
offset = board->uart_offset;
- bar = 1;
+ /* FALLTHROUGH */
case 4: /* BAR 2 */
case 5: /* BAR 3 */
case 6: /* BAR 4 */
OpenPOWER on IntegriCloud