lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 31 May 2016 16:59:06 -0300 From: Gustavo Padovan <gustavo@...ovan.org> To: Greg Kroah-Hartman <gregkh@...uxfoundation.org> Cc: linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org, dri-devel@...ts.freedesktop.org, Daniel Stone <daniels@...labora.com>, Arve Hjønnevåg <arve@...roid.com>, Riley Andrews <riandrews@...roid.com>, Daniel Vetter <daniel.vetter@...ll.ch>, Rob Clark <robdclark@...il.com>, Greg Hackmann <ghackmann@...gle.com>, John Harrison <John.C.Harrison@...el.com>, Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Sumit Semwal <sumit.semwal@...aro.org>, Gustavo Padovan <gustavo.padovan@...labora.co.uk> Subject: [PATCH 11/18] staging/android: clean up #includes in the sync framework From: Gustavo Padovan <gustavo.padovan@...labora.co.uk> Most of the includes there are not necessary anymore. Signed-off-by: Gustavo Padovan <gustavo.padovan@...labora.co.uk> --- drivers/staging/android/sync.c | 6 ------ drivers/staging/android/sync.h | 3 --- drivers/staging/android/sync_debug.c | 16 ---------------- 3 files changed, 25 deletions(-) diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index aab80ec..bb12d86 100644 --- a/drivers/staging/android/sync.c +++ b/drivers/staging/android/sync.c @@ -14,14 +14,8 @@ * */ -#include <linux/debugfs.h> #include <linux/export.h> -#include <linux/kernel.h> -#include <linux/sched.h> -#include <linux/seq_file.h> #include <linux/slab.h> -#include <linux/uaccess.h> -#include <linux/anon_inodes.h> #include "sync.h" diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h index 02ecf44..54c515b 100644 --- a/drivers/staging/android/sync.h +++ b/drivers/staging/android/sync.h @@ -13,9 +13,6 @@ #ifndef _LINUX_SYNC_H #define _LINUX_SYNC_H -#include <linux/types.h> -#include <linux/kref.h> -#include <linux/ktime.h> #include <linux/list.h> #include <linux/spinlock.h> #include <linux/fence.h> diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c index 2733cc3..864ad01 100644 --- a/drivers/staging/android/sync_debug.c +++ b/drivers/staging/android/sync_debug.c @@ -15,22 +15,6 @@ */ #include <linux/debugfs.h> -#include <linux/export.h> -#include <linux/file.h> -#include <linux/fs.h> -#include <linux/kernel.h> -#include <linux/poll.h> -#include <linux/sched.h> -#include <linux/seq_file.h> -#include <linux/slab.h> -#include <linux/uaccess.h> -#include <linux/anon_inodes.h> -#include <linux/time64.h> -#include <linux/sync_file.h> -#include <linux/types.h> -#include <linux/kconfig.h> - -#include "uapi/sw_sync.h" #include "sync.h" #ifdef CONFIG_DEBUG_FS -- 2.5.5
Powered by blists - more mailing lists