Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1666250 > unrolled thread

[PATCH] drm: Remove duplicate forward declaration

Started byDawid Kurek <dawikur@gmail.com>
First post2017-06-14 23:40 +0200
Last post2017-06-15 18:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] drm: Remove duplicate forward declaration Dawid Kurek <dawikur@gmail.com> - 2017-06-14 23:40 +0200
    Re: [PATCH] drm: Remove duplicate forward declaration Sean Paul <seanpaul@chromium.org> - 2017-06-15 18:40 +0200

#1666250 — [PATCH] drm: Remove duplicate forward declaration

FromDawid Kurek <dawikur@gmail.com>
Date2017-06-14 23:40 +0200
Subject[PATCH] drm: Remove duplicate forward declaration
Message-ID<tSob8-22d-11@gated-at.bofh.it>
Forward declarations in C are great but I'm pretty sure one is enough.

Signed-off-by: Dawid Kurek <dawikur@gmail.com>
---
 include/drm/drm_connector.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
index 4eeda12..930222c 100644
--- a/include/drm/drm_connector.h
+++ b/include/drm/drm_connector.h
@@ -29,8 +29,6 @@
 
 #include <uapi/drm/drm_mode.h>
 
-struct drm_device;
-
 struct drm_connector_helper_funcs;
 struct drm_modeset_acquire_ctx;
 struct drm_device;
-- 
2.10.0


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

[toc] | [next] | [standalone]


#1666867

FromSean Paul <seanpaul@chromium.org>
Date2017-06-15 18:40 +0200
Message-ID<tSFYm-4Nd-41@gated-at.bofh.it>
In reply to#1666250
On Wed, Jun 14, 2017 at 11:35:18PM +0200, Dawid Kurek wrote:
> Forward declarations in C are great but I'm pretty sure one is enough.

Applied to drm-misc-next

Thanks,

Sean

> 
> Signed-off-by: Dawid Kurek <dawikur@gmail.com>
> ---
>  include/drm/drm_connector.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
> index 4eeda12..930222c 100644
> --- a/include/drm/drm_connector.h
> +++ b/include/drm/drm_connector.h
> @@ -29,8 +29,6 @@
>  
>  #include <uapi/drm/drm_mode.h>
>  
> -struct drm_device;
> -
>  struct drm_connector_helper_funcs;
>  struct drm_modeset_acquire_ctx;
>  struct drm_device;
> -- 
> 2.10.0
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus

-- 
Sean Paul, Software Engineer, Google / Chromium OS

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web