Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1752251rdb; Tue, 20 Feb 2024 06:08:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUUbqZEp0sz74X7yhio2n6xIc45C0ozVaikZdomDMaVe1z82S8jSEEJldEOaEZyKwxIFuKxUE9v0Pgg/hQmDQouvQdShHcBxlmFVUorRQ== X-Google-Smtp-Source: AGHT+IGDCQrcKlK7uQD7l4hwa2DEu6Xz9NtrD/AAiU5RMv81yoOFujfDekRGjaoT70mljpPmfOnT X-Received: by 2002:a17:90a:b00f:b0:299:6a7f:cc09 with SMTP id x15-20020a17090ab00f00b002996a7fcc09mr5861811pjq.33.1708438097625; Tue, 20 Feb 2024 06:08:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708438097; cv=pass; d=google.com; s=arc-20160816; b=aAqEKt4e9cNVg16Q9eAQuJEw+n+Mm6HJ/vCLwsstulzgq89IJS7BWPYwz//whoK0Pp FN9QV18iAND22A3Rehi3ivFqfGvJ3mIJqrE5c2KJKvmu2YWrol9JlTC9p7YrRWk0w8QD JpQozLzkhtuHq/fo+Nldr/oU1V/oKAQsiQFIMXaTHrI/yMlcaAt6ucaa+iZ+c53ZICAB LFQg+jWNJsvDj/BETmrGCQZHENr0J71YCZr9J/Ys212vKDzbFvS/X6XpjYiBzfNAVFN5 W6i/7WdKp45i7D4yRjdG15l74I1fV9y7c2o4y42IiKJVRYJDC8TOAoFSWE3p9W89wS3K dFOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=S8TcWfKg0zgBIKRkhuxkhNX6qfV5LcjxP7T7V8pMekU=; fh=+Ge6wsN8RqdnrjIGtEpkVNGW1YVQCy14a8HLBWrIf84=; b=sjl4ecmpulWG9yZejC1NtLgjY98Ah/mAJ51V266jJ9fRIY+AtQtJBIfSaLvmEICsRt UbJRx2JriT1qFL7s8WmxlXYBlEVtWme5cHgRQr/0TxE6ab1M1GlYvPQBPohmIhORuv0V BQ0wvI3ZF47exJk38OnrxADzdZM+REBHIObI/f8jaITbZ5lRlM/VGPpedJKmIRsrzSn5 Gl/+0pepE2etbaPCF7QwvSehGN4B8Nza3Lj/ltryfU/eeWy0Vax1M6b2kXr/nSfhD4Q/ XwgPq4yD/kTEucdM6ToCPjwsI8VQn336YKkGsapqO7MvT6QmT+JZa6s/uOqarVNUh+kk YsMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-73125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73125-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id kk2-20020a17090b4a0200b00298ddbbe701si6415347pjb.11.2024.02.20.06.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 06:08:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-73125-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73125-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CCCB5289C3D for ; Tue, 20 Feb 2024 13:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1448573198; Tue, 20 Feb 2024 13:55:54 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 84A3E6A8CB; Tue, 20 Feb 2024 13:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708437353; cv=none; b=uy8HdoPaIMTr3TDh0zSfdJfqMcta1HyIuWEmK2yU+QcISghoiNwPJoN0sZqmY0dHzWFv9QUmNkLd/4DpF+HFtx9iGNtr4IItX5Rr+WaFewIyjbKE5a3eaEUmU3SOgJBxAbOFN2texrB/oDWnRyIkGiX+LcvYhKGiR02NFv2leY0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708437353; c=relaxed/simple; bh=CFBAEkF/q8ncI+9sPI0M6RjIXSeHLouADi9KF1CiGh4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ThO3+11ZO/P7C1mYNYC0Q6/yGpmMC9RBTLX4ykvsVpe415jw2Kd3Ez6Gj0H1FGcgva1MTpfE287wWZSC/qHTnsQGkCXYp0ZPPI0hrV+vijgA+LnvNGqbS6eZGXLEHwxRBfNT6rutsbwyuIen57ZFU+ALaQ1CuQ2jobqJZ+gLmHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7567DC433C7; Tue, 20 Feb 2024 13:55:51 +0000 (UTC) Message-ID: <590107ef-16f1-4680-8fd6-11df838ce14a@linux-m68k.org> Date: Tue, 20 Feb 2024 23:55:48 +1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drivers/tty/serial: Remove unused function early_mcf_setup To: Geert Uytterhoeven , Jiri Slaby Cc: Thomas Huth , linux-m68k@lists.linux-m68k.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org References: <20240219164002.520342-1-thuth@redhat.com> Content-Language: en-US From: Greg Ungerer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 20/2/24 20:23, Geert Uytterhoeven wrote: > On Tue, Feb 20, 2024 at 6:11 AM Jiri Slaby wrote: >> On 19. 02. 24, 17:40, Thomas Huth wrote: >>> Compiling a kernel for the ColdFire causes a compiler warning: >>> >>> drivers/tty/serial/mcf.c:473:12: warning: no previous prototype for >>> ‘early_mcf_setup’ [-Wmissing-prototypes] >>> 473 | int __init early_mcf_setup(struct mcf_platform_uart *platp) >>> | ^~~~~~~~~~~~~~~ >>> >>> This function seems to be completely unused, so let's remove it >>> to silence the warning. >> >> And it seems so since the driver addition in 2007 by: >> commit 49aa49bfd40d718095669c1c70c9d167b814e29b >> Author: Greg Ungerer >> Date: Tue Oct 23 14:37:54 2007 +1000 >> >> m68knommu: new style ColdFire UART driver > > Indeed. > > Looks like the "changes to the ColdFire based m68knommu systems > to use a platform model at init, and this is used there" from [1] > never materialized on any public mailing list? > > Greg: does it still make sense to add them? No, it never really turned out to be useful enough to anyone, so I never really pushed it out or progressed it any further. So I am fine with removing this now: Acked-by: Greg Ungerer I can take it via the m68knommu git tree if no one else wants to pick it up. Regards Greg > If not: > Reviewed-by: Geert Uytterhoeven > > [1] https://lore.kernel.org/all/47254BEB.2040609@snapgear.com/ > > Gr{oetje,eeting}s, > > Geert >