case AST_DRAM_4Gx16:
                param->dram_config = 0x133;
                break;
-       }; /* switch size */
+       } /* switch size */
 
        switch (param->vram_size) {
        default:
        case AST_DRAM_4Gx16:
                param->dram_config = 0x123;
                break;
-       }; /* switch size */
+       } /* switch size */
 
        switch (param->vram_size) {
        default:
 
                break;
        default:
                break;
-       };
+       }
        dp->dpms_mode = mode;
 }
 
 
                break;
        default:
                break;
-       };
+       }
        ctx->dpms_mode = mode;
 }
 
 
                break;
        case BIT(14):
                /*wait for all fifo empty*/
-               /*wait_for_all_fifos_empty(sender)*/;
+               /*wait_for_all_fifos_empty(sender)*/
                break;
        case BIT(15):
                dev_dbg(sender->dev->dev, "No Action required\n");
 
                u16 magic3 = 0x0648;
                magic[gpc][0]  = 0x10000000 | (magic0 << 16) | offset;
                magic[gpc][1]  = 0x00000000 | (magic1 << 16);
-               offset += 0x0324 * (priv->tpc_nr[gpc] - 1);;
+               offset += 0x0324 * (priv->tpc_nr[gpc] - 1);
                magic[gpc][2]  = 0x10000000 | (magic2 << 16) | offset;
                magic[gpc][3]  = 0x00000000 | (magic3 << 16);
                offset += 0x0324;
 
                nv_engine(priv)->sclass = nvaf_graph_sclass;
                break;
 
-       };
+       }
 
        /* unfortunate hw bug workaround... */
        if (nv_device(priv)->chipset != 0x50 &&
 
            vhdr->DeviceID != rdev->pdev->device) {
                DRM_INFO("ACPI VFCT table is not for this card\n");
                goto out_unmap;
-       };
+       }
 
        if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) {
                DRM_ERROR("ACPI VFCT image truncated\n");