git: kernel/drm: Remove duplicate type definitions.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Feb 14 11:27:22 PST 2021


commit 1062b3af0cf5fa06db45e486376113a6babe1c6a
Author: Sascha Wildner <saw at online.de>
Date:   Sun Feb 14 20:25:49 2021 +0100

    kernel/drm: Remove duplicate type definitions.
    
    * <linux/spinlock.h>: A definition of 'spinlock_t' is already present
          from <linux/spinlock_types.h>.
    
    * <linux/types.h>: A definition of 'bool' is already present from
          <sys/types.h>. Also, the defined() check was just wrong because
          it can only check for preprocessor macros, not for typedefs.

Summary of changes:
 sys/dev/drm/include/linux/spinlock.h | 2 --
 sys/dev/drm/include/linux/types.h    | 4 ----
 2 files changed, 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1062b3af0cf5fa06db45e486376113a6babe1c6a


-- 
DragonFly BSD source repository



More information about the Commits mailing list