From patchwork Tue Oct 27 19:07:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11861623 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10073C388F9 for ; Tue, 27 Oct 2020 19:07:44 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 96B212070E for ; Tue, 27 Oct 2020 19:07:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DVWQEmws" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96B212070E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F8EA6EC0D; Tue, 27 Oct 2020 19:07:42 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 116446EC18 for ; Tue, 27 Oct 2020 19:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603825660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:content-type:content-type; bh=l0PCwDa1wHGV+Q/jQHXorblfnJ1kxgpeCNddFrrP2u8=; b=DVWQEmwsHVuNj1CUczWg7D0aYOyzxiZFqWZYzi2iTK+zx7YUo7MpklqQRxPHMAdcHMdivf 1r+E5ThCsrFAPM9ujIFs6GF5LJB4auyTjTCyqnkMVTpUeMRj83m0+A4D6MwZRgl+sKCZLj 9hmMJDyGL1xd9Ss5uzTetxArIuLeQ9M= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-195-qRLgUpCeMfCMIJN8-CdoqQ-1; Tue, 27 Oct 2020 15:07:33 -0400 X-MC-Unique: qRLgUpCeMfCMIJN8-CdoqQ-1 Received: by mail-oo1-f69.google.com with SMTP id q9so1221967ool.1 for ; Tue, 27 Oct 2020 12:07:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=l0PCwDa1wHGV+Q/jQHXorblfnJ1kxgpeCNddFrrP2u8=; b=DamSOr9Moixzvq332gFdt5afc6RR2CQDZ6UMWNjD3sVX00wWGzwVe7VAsuJxHB/MWM d+iZpWAaEUlTP5xlEuchTJNeTQSDNKczXg1wq39dbpzxL5RHNszPtIHMPEiKgvtNEppv ErkU/agC3FyOmwMngPJEJmRliYeQVnY7efoSKKwfeAnnPYBneoGNDGFc/TX40xx2GiR0 UM/KfpVwJ5Ig7gxtMKPK+BdB3SRBjqga5fXfiVTpD/Xv+xgz3KNQVfMib4TWnfWaGL1+ aiOIjtkfsI4+lptX/PYgsSuyEX6NmS94krHb1xXh/aqScaKeYk7ElRTrPiz2lsA4CoJ5 JVpw== X-Gm-Message-State: AOAM530XfrWTA1GdKnI1CmuxSdgiBds/DZBQlbqjAc6GQaQkjJ8eRis1 f5y/RnuASodsqUaiAVXIzxUy5qEMorSxcAd+65PGV13uBHPmfE3Qb1CbmoiQOR0BoDZgpewjyij 788C8a4FRdkciVY1a2/mDOh6ol9iO X-Received: by 2002:a9d:491:: with SMTP id 17mr2601951otm.338.1603825652820; Tue, 27 Oct 2020 12:07:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWW33cuqBanM3RqWmNlIAsoMbT3S8VnWYdIw36FDCID2skFOgGdV/X/Ei7bypd9s6bTTHJSg== X-Received: by 2002:a9d:491:: with SMTP id 17mr2601933otm.338.1603825652601; Tue, 27 Oct 2020 12:07:32 -0700 (PDT) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id x83sm1765339oig.39.2020.10.27.12.07.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 12:07:32 -0700 (PDT) From: trix@redhat.com To: alexander.deucher@amd.com, christian.koenig@amd.com, airlied@linux.ie, daniel@ffwll.ch, jonathan.kim@amd.com, harish.kasiviswanathan@amd.com, Felix.Kuehling@amd.com, zhengbin13@huawei.com, luben.tuikov@amd.com, Joseph.Greathouse@amd.com, Hawking.Zhang@amd.com, guchun.chen@amd.com, john.clements@amd.com, tao.zhou1@amd.com, Dennis.Li@amd.com, Stanley.Yang@amd.com Subject: [PATCH] drm/amdgpu: remove unneeded semicolon Date: Tue, 27 Oct 2020 12:07:26 -0700 Message-Id: <20201027190726.1588801-1-trix@redhat.com> X-Mailer: git-send-email 2.18.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tom Rix , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Tom Rix A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix --- drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c index 1b213c4ddfcb..19c0a3655228 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c @@ -654,7 +654,7 @@ int amdgpu_pmu_init(struct amdgpu_device *adev) default: return 0; - }; + } return ret; } diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index 8bf6a7c056bc..a61cf8cfbfc3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -953,7 +953,7 @@ static char *amdgpu_ras_badpage_flags_str(unsigned int flags) case AMDGPU_RAS_RETIRE_PAGE_FAULT: default: return "F"; - }; + } } /**