Explorar o código

[SERIAL] 8250_pci: Remove redundant assignment, and mark fallthrough.

Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones %!s(int64=20) %!d(string=hai) anos
pai
achega
c2cd6d3c12
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/serial/8250_pci.c

+ 1 - 1
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 */