Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8EFD6C43458 for ; Fri, 10 Jul 2026 13:00:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 00FB810E1C7; Fri, 10 Jul 2026 13:00:09 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=adrian.larumbe@collabora.com header.b="UKG+Rhaw"; dkim-atps=neutral Received: from sender4-op-o11.zoho.com (sender4-op-o11.zoho.com [136.143.188.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6843B10E1C7 for ; Fri, 10 Jul 2026 13:00:07 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1783688405; cv=none; d=zohomail.com; s=zohoarc; b=YJt0J2wabCxBlyvftYIhr19mieDP5JyLpCvkILWGY/r9RXqdgieQMJogQ4v2o658Uxa9l295ms7yd8V6fIAPA3h6V4Y8xM542wX/jDN6LykjBNQkX18txDyKlfl/N6hPoMkpiMt60GwHrGqPMIWR/kQz7FmcARgoqNsOlnzgybM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783688405; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=TzaP+nQh9qtRSqNGQXu0UoTiQ1RR/Ewu8rsl+vLvBH0=; b=HSXxSmHr66qMDHPEWTWzPLyHrxupNPCCGMT1WBBHch+67UOKGTtl8id9NRFVkOn9nQ3wwzQJA1S+5woX3x7AB/Gx7+GMJnJ7wo7A/8TjAIzoSotDOS+dPPTtv+L+f8R/Xx4zve7ZDrpqTV+7sgu2UN5DXV4ekwZqYjouLx311kk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=adrian.larumbe@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1783688405; s=zohomail; d=collabora.com; i=adrian.larumbe@collabora.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:Message-Id:Reply-To; bh=TzaP+nQh9qtRSqNGQXu0UoTiQ1RR/Ewu8rsl+vLvBH0=; b=UKG+RhawifRP5o4v5sX9VpuG4NzVBI5VADWdZ7JeibFV9hLQlWguwmzMQtosNKgK MF82nilENknQW4zzuYIQFYi1yu9K7rU6hVaAUkiyjUNAVnZEqzRSZB3exrPVrb0arZq sQHc4widhfNODFCXBKDvmFkDZFDuAnDuA8H6ekhg= Received: by mx.zohomail.com with SMTPS id 1783688403392347.8054094837015; Fri, 10 Jul 2026 06:00:03 -0700 (PDT) Date: Fri, 10 Jul 2026 13:59:59 +0100 From: =?utf-8?Q?Adri=C3=A1n?= Larumbe To: =?utf-8?B?TWHDrXJh?= Canal Cc: Boris Brezillon , Rob Herring , Steven Price , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, kernel-dev@igalia.com Subject: Re: [PATCH] drm/panfrost: Remove unused scheduled_jobs list Message-ID: References: <20260710121423.2820472-2-mcanal@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260710121423.2820472-2-mcanal@igalia.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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Reviewed-by: Adrián Larumbe On 10.07.2026 09:14, Maíra Canal wrote: > The scheduled_jobs list head was introduced in commit f3ba91228e8e > ("drm/panfrost: Add initial panfrost driver") but never used. Remove the > dead field and its initialization. > > Signed-off-by: Maíra Canal > --- > drivers/gpu/drm/panfrost/panfrost_device.c | 1 - > drivers/gpu/drm/panfrost/panfrost_device.h | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/gpu/drm/panfrost/panfrost_device.c b/drivers/gpu/drm/panfrost/panfrost_device.c > index 7fed22d555a5..d0a23c51be39 100644 > --- a/drivers/gpu/drm/panfrost/panfrost_device.c > +++ b/drivers/gpu/drm/panfrost/panfrost_device.c > @@ -218,7 +218,6 @@ int panfrost_device_init(struct panfrost_device *pfdev) > int err; > > mutex_init(&pfdev->sched_lock); > - INIT_LIST_HEAD(&pfdev->scheduled_jobs); > INIT_LIST_HEAD(&pfdev->as_lru_list); > > spin_lock_init(&pfdev->as_lock); > diff --git a/drivers/gpu/drm/panfrost/panfrost_device.h b/drivers/gpu/drm/panfrost/panfrost_device.h > index ec55c136b1b6..1fe1554f2652 100644 > --- a/drivers/gpu/drm/panfrost/panfrost_device.h > +++ b/drivers/gpu/drm/panfrost/panfrost_device.h > @@ -156,7 +156,6 @@ struct panfrost_device { > struct panfrost_job_slot *js; > > struct panfrost_job *jobs[NUM_JOB_SLOTS][2]; > - struct list_head scheduled_jobs; > > struct panfrost_perfcnt *perfcnt; > bool profile_mode; > -- > 2.54.0 Adrian Larumbe