Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp209285pxf; Thu, 25 Mar 2021 02:07:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9QMVgrVDEECbjHd7T3Nue6gsTWLTqShHD73Sld2V7x7e7YTKBwjcHgVQrEc2EpPQTwwhl X-Received: by 2002:a17:906:4747:: with SMTP id j7mr8152454ejs.221.1616663252489; Thu, 25 Mar 2021 02:07:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616663252; cv=none; d=google.com; s=arc-20160816; b=N3KkkRQGq75dQClWENXzv9AHydaaT8UxY1TIrRPrl1sR7ncBgiDiM7R+OKIaL7g/Kw b/Lp/xhjbCAL6SDDLCBYxe4NI8Qsfq2S51llSSTj6KwHqUl10LRw+9iD9q1qyzl4NoPk xw/Zyn4By1eswDfktgfzajlG6sarTH3MhyxbV9hsd8RhVIa8vHexnFUv31t4h1Ekg05K xk8LXennBumNVBYXsvbK93esXW4r8M+VqvfSl+bu8I4Pc4apasjXfAgrOd6NghM4KCJp 62U2moZIYozY8mg2EqBeVbTau2fX5mOan0lzG2CbmxqiRP7k5IQmZuij7bAi3HcT432V rp2Q== 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=losjdOXSNFNhD7nIchCeSDrmyrjmORDRcJ+3VWGnKcs=; b=RnYAhmD+OjBVsx1B4QiOhg8QduxKhfnwVcu/QBvSWaz3N0ppWyFUnsHNvCeSmWGThx 9hoBMRL0qcSGjbqwM3bukv60dYmtbj/9wO8m50tw2SdJ+trRNtqP+Ot2xzs4zvVD2gvQ lQ6EVA/GTzGEM3EEdxMZe/i6WjQ3OBvKrxwzAveJpiKjcIOKi0aLlJPtJduUAsAh+tSe ukoZPbHO2AdiShT/78cqTzrDpO219ePgqY2uX9F18grbwHgfDvoJJVfkzkkCIFpO4ra3 Jb8maTV5PjvJaXtjBDpmR0isOFVJSZdedOUIEZQv1PSym5X7i9MJPk2HNeVXdbnsLw8Y PXvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=E7IpUKon; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si3751921edq.492.2021.03.25.02.07.09; Thu, 25 Mar 2021 02:07:32 -0700 (PDT) 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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=E7IpUKon; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229616AbhCYJFz (ORCPT + 99 others); Thu, 25 Mar 2021 05:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbhCYJFb (ORCPT ); Thu, 25 Mar 2021 05:05:31 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96307C06174A for ; Thu, 25 Mar 2021 02:05:31 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8985E8C9; Thu, 25 Mar 2021 10:05:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1616663124; bh=/SywUhKN0TyjTDbmFwZZQmOsTEDAh0nvpn/dDHY+Nrc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E7IpUKonP2G+CJe0y9GlvUurm3qlQRRoNc7AkmcfWBCfMISo5Ik/lbtQ6istzeDaS xZmjZw3gtxKL0qrD/M+DDg84q4Up8U+Dpph2k+j5GBQI4zrazi5GVvUw0KFJztt9D1 SLXV047N1+/VlnlDZoqEXc8KZhd4SJ8vcXPRHdts= Date: Thu, 25 Mar 2021 11:04:39 +0200 From: Laurent Pinchart To: Wan Jiabing Cc: Tomi Valkeinen , David Airlie , Daniel Vetter , Sebastian Reichel , Jyri Sarha , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kael_w@yeah.net Subject: Re: [PATCH] drivers: gpu: drm: Remove duplicate declaration Message-ID: References: <20210325045022.847135-1-wanjiabing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210325045022.847135-1-wanjiabing@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wan, Thank you for the patch. On Thu, Mar 25, 2021 at 12:50:19PM +0800, Wan Jiabing wrote: > struct dss_device has been declared at 51st line. > Remove the duplicate. > > Signed-off-by: Wan Jiabing > --- > drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h b/drivers/gpu/drm/omapdrm/dss/omapdss.h > index a40abeafd2e9..2658aadee09a 100644 > --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h > +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h > @@ -52,7 +52,6 @@ struct dss_device; > struct omap_drm_private; > struct omap_dss_device; > struct dispc_device; > -struct dss_device; > struct dss_lcd_mgr_config; > struct snd_aes_iec958; > struct snd_cea_861_aud_if; While at it, could you sort these forward declarations alphabetically, so that duplicates are easier to see ? -- Regards, Laurent Pinchart