From patchwork Fri Mar 1 09:05:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 208706 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp950837dyb; Fri, 1 Mar 2024 01:06:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVNC86h4yvTmVz2l0W6RMxfbT94geWkwEg8eckftQYKMrZywjyir2CEj/ehpX6Nx++Fxu6CIaWuEDAb+BG/U25l5VQEPg== X-Google-Smtp-Source: AGHT+IHp+2vPIYpCetPWs315uEfTAdEjxQ8Gc0oEfj8L/YcF2yprtzGNR7gOoC4IDvHWcVyzIoYv X-Received: by 2002:a17:906:a404:b0:a44:8daa:684b with SMTP id l4-20020a170906a40400b00a448daa684bmr717444ejz.3.1709283973860; Fri, 01 Mar 2024 01:06:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709283973; cv=pass; d=google.com; s=arc-20160816; b=YJLfVGCSDYBARUp6gDJHHbbgAi2ogQWf8+swOWAsbSJuXmjGyj3nvyp4liwCXWbxsJ 3C6GMBMRbdmAQGmERHuUdgNo6xYKeFbzqvDE+uRHEyzfiJh4qtksPV4YpKG/+lgLeLxD IBWI40+Fln4d1EQRubUvGWEKiOQdiF8RHYkOFi1mCLhVdRFF9ptZEKIzbz6Te40yctRX 1NkTphebVOvoFcimUq4Ra2klHAWQtTicnhCTzVkSiwyaFeRkXk11PvFWfvz097zLhepY pF9ECNnJ74ovOs/cr1++kOQxjeRAYXrK1E9pfGmTj4WUq3jUblntZmdNaxgQYes/SECe +qWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nBALHPo6UgPPUyrD3FvDp+iwsXKQboxe3VkcEgjHgOg=; fh=aOnbZ6mqGfMMWyMnxAzLhMD+GenhMLNZPioQbh6y1+w=; b=Db0JF7bAxEOOsVxIKqqO3tN0+CyBNwQRx77f9X2EzBinGx5iRPERvhEdQqwnn7qNeH GyTB5yrtFQycajK7HaZzfYf2+4rjB10Mrx67WjBRdP+Woj7lcQQP2HtdlYmY8o2mHWPC W7nQhZl8JUcm1cfz4mj9P1C4+ZjAjEhFgUfp0Oi0dujeMVGGmvG+lBEpB7UQZwA3kQcs c6BFs4bZQVerMisxG8qOoPno1PQXxckjeusXGwzdUvEhunBHcrxaUrfTkZ0bRMMeVyoG R4uYPzJSVOFLRsJSAIxCshhWgT+BvuQk++1gs/Sb4LEMh/H8SsVmsDSex5uufAJ6nz+a 2ZBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=jBkSH9aa; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gu24-20020a170906f29800b00a3e6e6df64asi1307498ejb.152.2024.03.01.01.06.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 01:06:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=jBkSH9aa; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7B8651F23341 for ; Fri, 1 Mar 2024 09:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 589986A322; Fri, 1 Mar 2024 09:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="jBkSH9aa" Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FE6B6A02F for ; Fri, 1 Mar 2024 09:05:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283949; cv=none; b=npxqxn1hRmb61SIc/ivOxUfUw4i298z+NvzeuvRt2X14545FIRO7a6oYSfZG2PFTMoqtk9EI9Tg6j6bmTIS/GPOymLgJ6ydOVKdtMuDLWJmIVKz7I2A2kbd+I/fy0MzqWnrnXbKDneHtig3v6jZ7K0Trn/F24SiQq5Jr6UrC5xA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283949; c=relaxed/simple; bh=Vm6CiRWRPbLZbzLjXw0SAbyS5VeoUChXkooIq7LvyHo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=e7HbrrPO9IXRGqp4N2KDVlcDjENaERw3jV/tqyw4RLur2pT7gAu1Xd/k2Vq8m2h7bLlpOOBK6uoKQS484osTXIRXZAaoOpYjuLnpmKI0GZJFDBvEWI0ZmAwGxi98UuAQ8wBQ6jullT+yi9M9kURUQUUxVTsBlQmeOy+CvK6Wwz8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=jBkSH9aa; arc=none smtp.client-ip=115.124.30.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1709283939; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=nBALHPo6UgPPUyrD3FvDp+iwsXKQboxe3VkcEgjHgOg=; b=jBkSH9aabv6Xmz7R/M6VNDizyZDWBvd+KNF29GqzpPooJKlc/JWM/dCINg2Uen++qy5XpT+4Vs/aKfZYcyyd1w9CMlakpfbbPFCVePpMQeZQ6jNoC4TfUcs40byZqdTwDwK4p4V/cpKsV06/ln4Gzs63AL19l5JHGHh+Gik+HKY= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R221e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W1azjs2_1709283938; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W1azjs2_1709283938) by smtp.aliyun-inc.com; Fri, 01 Mar 2024 17:05:38 +0800 From: Yang Li To: thomas.hellstrom@linux.intel.com, maarten.lankhorst@linux.intel.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next 2/2] drm/xe: Remove unneeded semicolon Date: Fri, 1 Mar 2024 17:05:35 +0800 Message-Id: <20240301090535.87969-2-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20240301090535.87969-1-yang.lee@linux.alibaba.com> References: <20240301090535.87969-1-yang.lee@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792314151958690762 X-GMAIL-MSGID: 1792314151958690762 This patch removes the unnecessary semicolons at the end of the switch-case statements which cleans up the code and ensures consistency with the rest of the kernel coding style. Signed-off-by: Yang Li --- drivers/gpu/drm/xe/xe_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_rtp.c b/drivers/gpu/drm/xe/xe_rtp.c index fb44cc7521d8..316ed2f6d1f0 100644 --- a/drivers/gpu/drm/xe/xe_rtp.c +++ b/drivers/gpu/drm/xe/xe_rtp.c @@ -165,7 +165,7 @@ static void rtp_get_context(struct xe_rtp_process_ctx *ctx, *gt = (*hwe)->gt; *xe = gt_to_xe(*gt); break; - }; + } } /**