summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-09-02 16:48:47 -0300
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-09-03 15:34:25 -0300
commitdd749c518ab4d2f5833b844a10a563286f23d3d8 (patch)
tree4862bd0c09f13221a95fb12d91c037cf07103db4 /input/device.c
parent29ac7adb5e2d8feb59824be6f2443ac5ac24e506 (diff)
Input cleanup: Unnecessary headers and function
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/input/device.c b/input/device.c
index ccaf0374..e5fe0c46 100644
--- a/input/device.c
+++ b/input/device.c
@@ -44,7 +44,6 @@
#include <gdbus.h>
#include "logging.h"
-#include "textfile.h"
#include "uinput.h"
#include "device.h"
@@ -1002,13 +1001,6 @@ int input_device_unregister(const char *path, const char *uuid)
return 0;
}
-gboolean input_device_is_registered(bdaddr_t *src, bdaddr_t *dst)
-{
- struct input_device *idev = find_device(src, dst);
-
- return idev ? TRUE : FALSE;
-}
-
int input_device_set_channel(const bdaddr_t *src, const bdaddr_t *dst, int psm, int nsk)
{
struct input_device *idev = find_device(src, dst);