Skip to content

Commit

Permalink
android: binder: remove binder.h
Browse files Browse the repository at this point in the history
binder.h isn't needed to just include a uapi file and set a single
define, so move it into binder.c to save a few lines of code.

Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
gregkh committed Oct 20, 2014
1 parent bc2d62a commit 9246a4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 31 deletions.
6 changes: 5 additions & 1 deletion drivers/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
#include <linux/slab.h>
#include <linux/pid_namespace.h>

#include "binder.h"
#ifdef CONFIG_ANDROID_BINDER_IPC_32BIT
#define BINDER_IPC_32BIT 1
#endif

#include <uapi/linux/android/binder.h>
#include "binder_trace.h"

static DEFINE_MUTEX(binder_main_lock);
Expand Down
30 changes: 0 additions & 30 deletions drivers/android/binder.h

This file was deleted.

0 comments on commit 9246a4a

Please sign in to comment.