]> err.no Git - linux-2.6/blobdiff - drivers/serial/8250_pci.c
[SERIAL] 8250_pci: Remove redundant assignment, and mark fallthrough.
[linux-2.6] / drivers / serial / 8250_pci.c
index 5c3c03932d6d45663bb39e790d565f9c6623f934..8adca0ce267f66ed7f57b5e36e8365e1a165ab5e 100644 (file)
@@ -468,7 +468,7 @@ static unsigned short timedia_eight_port[] = {
        0x9167, 0x9168, 0xA066, 0xA167, 0xA168, 0
 };
 
-static struct timedia_struct {
+static const struct timedia_struct {
        int num;
        unsigned short *ids;
 } timedia_data[] = {
@@ -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 */