From dceb6989a8e81b8c93bd8cf29a872ae8cd173237 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 20 Feb 2017 20:26:39 +0100 Subject: [PATCH] rcinput: remove now unused (and broken) getFileHandle() --- src/driver/rcinput.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index ce220bb43..848e54cf6 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -291,12 +291,6 @@ class CRCInput }; void set_rc_hw(void); - inline int getFileHandle(void) /* used for plugins (i.e. games) only */ - { - if (indev.empty()) - return -1; - return indev[0].fd; - } void stopInput(const bool ext = false); void restartInput(const bool ext = false); bool isLocked(void);