Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1143143pxb; Thu, 4 Mar 2021 04:36:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaUbs5nmUBZLialu2vz6epYIH/rIW30L4n9YK3OOBFymmB2BEI/QGyA0hwnOW+t3hsNYED X-Received: by 2002:a17:906:a090:: with SMTP id q16mr3968527ejy.236.1614861360260; Thu, 04 Mar 2021 04:36:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614861360; cv=none; d=google.com; s=arc-20160816; b=QaiZAYDcTDnels9/huJJ9ZTQCYCBhMV/aLem3irHwt9n3RptOus9Bp0QMNf1IUOF7J X69K7smQ4/LPPlMNqhckLzEIyPKvgXElaHy1XF3auPZZvPUg7BmeScv1Nbf84Ec31BuV DMTmRpWbYI29NfiyR56mqkN98bcCdl0Q+CJYu3A24USTzeZPNAaTwae3xJLqj5zDFDVF C+AampViuNEYsYoEIynH9+YF/W8Hf6XuoYeNMXasIMmInmqAFV7aM4EECFTPW7FYA7WA clCKIjn50LH5kEMSqSxlgODwYq5qWs2A0CQR15EbxBPxGqnqJlLE8z8eJ8JvfMnFeGOw r3Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AuZep7yVIRc5LT7KagtrqulngVCSC1sdQriM4qVPq/Q=; b=IybGOdfJDZlJF3d0buGM4TQLiatguoKLFJroOsHZIAQWgUInLPSqX2FkYmw4KaXVUD wm4pHCbQflOGFKBSOrFAD2MA7bewHZGZ4CB2CxUYjs2u1h6X/VJf4HrJEmCYJPFEgtzf Muf6Wh/OC6Gy0TYEPX1vdMGOMHvDot9UFB+mYm0SmYOQntK1T2YISGN7LcoOYtBOG3Ti +5OFIx35X6CUX3i/3vXJhu85W/Izq+Q9pnKgtmzhVhvZb+YQrA6F8yvHHl3646MMtJg0 boZW31b8cN8gHnjQ64NN3ct4ZT+MdnQER5dh9OeiF48ihHlPntyoKwIpCqcA1hz1djU2 pW9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aruZB9LS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si10552632edw.367.2021.03.04.04.35.37; Thu, 04 Mar 2021 04:36:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aruZB9LS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387804AbhCCTd7 (ORCPT + 99 others); Wed, 3 Mar 2021 14:33:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:40548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232947AbhCCTSE (ORCPT ); Wed, 3 Mar 2021 14:18:04 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2AAE664EEE; Wed, 3 Mar 2021 19:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614799034; bh=Mf9uhVFc+A+W81vbbEZka2vShXqxHw+fMiv1AfIbBSU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aruZB9LSnEkR3QWVm5jcBB79RVNMXdYPUcsGDUPFCr1rnhe2bdGGJsSDQuMDUjdzQ QLXtrKEVK5k7/vn14C8kZDbzaXLIg8Kic4HdPhNJCgoeR46LmuHA3sixV7Ccr5qM9M 2viGCfdmYpMRrVtaR2Dk/ncTa3gkFV+/xLkRSZVU= Date: Wed, 3 Mar 2021 20:17:11 +0100 From: Greg KH To: Jiri Slaby Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: Re: [PATCH 37/44] USB: serial/keyspan, drop unneeded forward declarations Message-ID: References: <20210302062214.29627-1-jslaby@suse.cz> <20210302062214.29627-37-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210302062214.29627-37-jslaby@suse.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 02, 2021 at 07:22:07AM +0100, Jiri Slaby wrote: > Forward declarations make the code larger, harder to follow and rewrite. > Harder as the declarations are often omitted from global changes. Remove > forward declarations which are not really needed, i.e. when the > definition of the function is before its first use. > > Signed-off-by: Jiri Slaby > Cc: Johan Hovold > --- > drivers/usb/serial/keyspan.c | 20 -------------------- > 1 file changed, 20 deletions(-) I'll let Johan take this through his tree: Reviewed-by: Greg Kroah-Hartman