Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1236228rdb; Fri, 16 Feb 2024 09:09:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXV8Bi0bnkbONUCRR4CVJvkczHCZWIRb2KZjJ/GeemD7/SRiFE58P6BcWzs+jMdk72ub41Ol34+iy+HEsZk2Kv/qyTlEpKDm36KRNAbkw== X-Google-Smtp-Source: AGHT+IE86RxZQDPI71tgoQvJRW43r6n6DcR6ivDN7dO9tVx/gSwa4xRedqIxizVa5ti2FJfncqod X-Received: by 2002:a17:906:78a:b0:a39:4e74:b30b with SMTP id l10-20020a170906078a00b00a394e74b30bmr3681994ejc.13.1708103354460; Fri, 16 Feb 2024 09:09:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708103354; cv=pass; d=google.com; s=arc-20160816; b=i7tJJt1u6XczvRDYSGjJ+go2hxXqEjJy0flbRRJ7dQHUxN/JOjLrj3IJFDZBxmd+bM ozMlhdvdXKdmV0e+oUZdaagJWE5j/Iq99GI8YJfqEv8Cx6cXUiZmiBjaOuYEfyUOvWbN CjZgIP6OKwD1kKd+Mwb+i9IayFjzYhXDcK/i5eQhITbjO0hXmd6P61SxLyNdans4Z+Pv 23IwiZgbOU2GEuwa2CmOW/14Umq1sEymt90IGyFfv/YBDEa0BWGWrZDwaXbhHtwcfxcd tGSvtu+M9raVla14gjmaNl6EqnWoMoSin33o5x2854Z2+PqWKVWywPq0tU3btKhDJ2WH e6Yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=ijTea4rY9Z92lLGWfWJZg4eI/pmK/TMqoH5QWxKStbU=; fh=Ud5Psz0ZQqR2PMDV12rZMlEzkF5gsJtyK225GsP0bRA=; b=RH9dZiXsqHaJ2KdTHkh0j9o0jdlbutTa223DDY984ZrlAeRelpo+5czArJv5cBljg4 0ySvJMzDQswF5Ir1Fzh+TaSntzha8dl9yP6oQDdV17DmTEtxfrX8dSzvWSBgeLagCsm5 H/aElkDSZxThu1SJcOXJEwl8s6FOFliOGrGrBx3yo78YAmJ00T4VMtTvYS5+DN4FQVd7 yBq61KmcztMH1RDALbH50w61vKEyj86XV+Wnw1cLE+1v7m/rhobnK8gXcQkql/JpZZQ9 nKeeHKnU1azq5MaVl1TLf5H05J19i5bI3zCs4QspllS21PhP1ZObbx11aoA96kxqEKZP hULg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=hOkJCiC8; arc=pass (i=1 dkim=pass dkdomain=ffwll.ch); spf=pass (google.com: domain of linux-kernel+bounces-69029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69029-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kk1-20020a170907766100b00a3c4e369696si98459ejc.614.2024.02.16.09.09.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:09:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=hOkJCiC8; arc=pass (i=1 dkim=pass dkdomain=ffwll.ch); spf=pass (google.com: domain of linux-kernel+bounces-69029-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69029-linux.lists.archive=gmail.com@vger.kernel.org" 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 366E11F21F23 for ; Fri, 16 Feb 2024 17:09:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3FE7130E47; Fri, 16 Feb 2024 17:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="hOkJCiC8" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C50B130E27 for ; Fri, 16 Feb 2024 17:07:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708103263; cv=none; b=M5Mc+g3p1rYcgArW+C6BTJHnLO7QTuNteodJZOS9WteUibhwtR86JXJsIzbFW14AUVjlrsNBq+p9ThcqFXBA2nyRMk7bKiQg9yGj8hTKmfnOk/BYJ+QvHWnUkr/J4SFGlCD5IRt0iKWZLOmkJm/cYhL9F4Av3rTDNLufl7FV1rE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708103263; c=relaxed/simple; bh=hv233QVBwAsUo0Zdqwhyq2yzmCK3uyGXUq9pEROZ7lI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hIs03Qzz/Y9GLtm6nIk26l/ETasvvAkgyCzZ22K4wKekSSrZ0I/WuJMpdj+XxX9hUjQ6vNgX+HWhyo6c8RB3r4MY2cTyBNzt7LAa0a9P+qVMljyXtE944kWvXcL3yle20UJsVxCccpNi1XyXhk4QasGNzLZ0lVlryZWeOYOm/Eg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch; spf=none smtp.mailfrom=ffwll.ch; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b=hOkJCiC8; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ffwll.ch Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-33cd856478cso596838f8f.0 for ; Fri, 16 Feb 2024 09:07:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; t=1708103259; x=1708708059; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date:message-id:reply-to; bh=ijTea4rY9Z92lLGWfWJZg4eI/pmK/TMqoH5QWxKStbU=; b=hOkJCiC81bNLbwNUNAvGojRAzgIYTMFUdnAN5uI3aXrHqHGJPE5JnCzot210fHqXjQ AkHe1FC1ohcAeTCVfjh7t6HcH9PpMj4uLwe1jX3HlEstozgwPpQLxzy02gEhnCy5ddbA vU4wUFWPaH3otzh8hQkr+9QmSNG7m9+gVRGDk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708103259; x=1708708059; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ijTea4rY9Z92lLGWfWJZg4eI/pmK/TMqoH5QWxKStbU=; b=L2lehgU6cvo17QNbJ+w7usj9D5MmJAEIFtXBd1FplQVeWf7fjzgzujBbAxq7LaS4/H JL2ifZoIY16jJvoEbRBQUwu6E2aQApfKHXZww2v1rkaYn7MomK564uyVtMO1f77Yof/S ZM2FYK/W5mCP8/zMQxnLk1dfwu58NJZYuZ76j49r8rgkIZcB1qygLC6VCdBFXl756faI pz/r5mzBjXIaQ4bFUnQAb8YnzbYtXGIuiQj7A6olu/ANHVWjJflQdPhvO3isO1c4PoGH xi+EaegZvFkQB+9Nri1TtDULZHn24I9Wdoej4nN//j7QPiketeglimTsjfZnzFGiel+r SIgg== X-Forwarded-Encrypted: i=1; AJvYcCX7XSlerriv20CV5G3E78Mf4QkKbqbziae1JoExRtbUS46zOV5ciWJIalIQz7Yyaw/WqbSGlH853q/p/OTli8fi6lmaQcLSyJFL5CcR X-Gm-Message-State: AOJu0YzAlbA69t/lROfPu+/uuP6RblpUzF1UaDe4pSm3gYFz/VABfN+E LTIQ7RdNVQZChWeZr6VPamEHo3dy4Q5JrQ4ox4jo8QbSg36aAzeGs1KsKpezC4M= X-Received: by 2002:a05:6000:803:b0:33d:1d45:c658 with SMTP id bt3-20020a056000080300b0033d1d45c658mr1572596wrb.6.1708103259500; Fri, 16 Feb 2024 09:07:39 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id e14-20020a5d4e8e000000b0033cdf1f15e8sm2702656wru.16.2024.02.16.09.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:07:38 -0800 (PST) Date: Fri, 16 Feb 2024 18:07:36 +0100 From: Daniel Vetter To: "Jiri Slaby (SUSE)" Cc: airlied@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH] char/agp: remove agp_bridge_data::type Message-ID: Mail-Followup-To: "Jiri Slaby (SUSE)" , airlied@redhat.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20240213111511.25187-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240213111511.25187-1-jirislaby@kernel.org> X-Operating-System: Linux phenom 6.6.11-amd64 On Tue, Feb 13, 2024 at 12:15:11PM +0100, Jiri Slaby (SUSE) wrote: > agp_bridge_data::type is unused (and I cannot find when was used last). > > Therefore, remove it. > > Found by https://github.com/jirislaby/clang-struct. > > Signed-off-by: Jiri Slaby (SUSE) > Cc: David Airlie > Cc: dri-devel@lists.freedesktop.org Thanks, pushed to drm-misc-next. -Sima > --- > drivers/char/agp/agp.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h > index 5c36ab85f80b..67d7be800a7c 100644 > --- a/drivers/char/agp/agp.h > +++ b/drivers/char/agp/agp.h > @@ -138,7 +138,6 @@ struct agp_bridge_data { > unsigned long gart_bus_addr; > unsigned long gatt_bus_addr; > u32 mode; > - enum chipset_type type; > unsigned long *key_list; > atomic_t current_memory_agp; > atomic_t agp_in_use; > -- > 2.43.1 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch