Received: by 10.223.148.5 with SMTP id 5csp6180563wrq; Wed, 17 Jan 2018 10:23:48 -0800 (PST) X-Google-Smtp-Source: ACJfBouP7N+ySqVMNDoX+dNlKjWN2ZeBdgjKf8CAYdZJpy8Ma+z8eRw7SJq5NlmnxVeOf586jNxw X-Received: by 10.99.96.210 with SMTP id u201mr33125611pgb.248.1516213428251; Wed, 17 Jan 2018 10:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516213428; cv=none; d=google.com; s=arc-20160816; b=hb2lRiWLPm6LErTNkclAznGbRq4uK/8z6Q26zbp0FtEuWNFEq2z6I2wHB27rDoNOIB aGHoLOsIfgWSvsPdhb/LE6VfxehTFF/CYTbjgOKIYQ+QYn4NPDWwutbbafYIZ+DsMeW4 g9gfXUAc4Tu6JmVInAtnhjLZlzLdhotaWOET4BaOzd034PNP5/V98BwEqCTqHft3EKMl 1y0vIE1nq0LFxKVqyuh8qwahvEsCclJyRyJlRbpxi4dZCvAZ4s0kYNKM/ANP6ijAXCsI VsxnnHvJCqaIhQL5ZTZWw6BbTsl7aMpvvTNRa5EL6CfL3LBBI2AhANS7kUgyffUwu/Jg C5OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=MyPz2o3WTcnUu3Ja2luRM56yM1f+YD+wZJwTundd3X8=; b=nLeYSdSI7nsSNTMIeRfu8wPpzMvSpiZT3NRMEc+NMpGymMdPHVmoSxdqbtNJZ/C6lk 6f5IkrlQ4yjrlFWZUrbmjO1uUBIpD281vHXQXh63LB612Yd9w8F8mv6aLOmV5Leu3fTm XmGqYGI6DsvRFqM7ygRczF0Zh0IsKy2kavOkPilaNwQx6mNAQhVGP3+7n4oKL10rdbww E5xnaOkO/T/0TNM11oHtVhK4e0ZWWET6nRHk4NCIzAo4NLd1wi80eUjxsB2B9peii1Ps VakaTySHo159Pj7mfAhxxEkIw5gWaCUEZkgXQaokNT4U4VFsE9E5/wH6aPkZ0MnbqNdt kcTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x27si4925620pfj.235.2018.01.17.10.23.33; Wed, 17 Jan 2018 10:23:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754404AbeAQSWv (ORCPT + 99 others); Wed, 17 Jan 2018 13:22:51 -0500 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:27691 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752740AbeAQSWu (ORCPT ); Wed, 17 Jan 2018 13:22:50 -0500 X-IronPort-AV: E=Sophos;i="5.46,372,1511827200"; d="scan'208";a="587317616" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-2b-4ff6265a.us-west-2.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Jan 2018 18:22:48 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (pdx2-ws-svc-lb17-vlan2.amazon.com [10.247.140.66]) by email-inbound-relay-2b-4ff6265a.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w0HIMjUF045150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Jan 2018 18:22:47 GMT Received: from uecb1d7364e75593fe229.ant.amazon.com (localhost [127.0.0.1]) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w0HIMj6V014746; Wed, 17 Jan 2018 18:22:45 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0HIMi7J014743; Wed, 17 Jan 2018 18:22:44 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , David Airlie , Alex Deucher , Christian Konig , Chunming Zhou , Andres Rodriguez , Monk Liu , dri-devel@lists.freedesktop.org, Luis de Bethencourt Subject: [PATCH] drm: Fix trailing semicolon Date: Wed, 17 Jan 2018 18:22:41 +0000 Message-Id: <20180117182241.14688-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt --- Hi, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html drivers/gpu/drm/scheduler/gpu_scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c index 2c18996d59c5..0d95888ccc3e 100644 --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c @@ -461,7 +461,7 @@ void drm_sched_hw_job_reset(struct drm_gpu_scheduler *sched, struct drm_sched_jo { struct drm_sched_job *s_job; struct drm_sched_entity *entity, *tmp; - int i;; + int i; spin_lock(&sched->job_list_lock); list_for_each_entry_reverse(s_job, &sched->ring_mirror_list, node) { -- 2.15.1