From 6a825fbd7af49ca8d3915176f1fa738abdef333d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 3 Sep 2014 17:59:55 +0200 Subject: [PATCH] (PS3) ps3_input.c - Get rid of unneeded else --- input/ps3_input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/input/ps3_input.c b/input/ps3_input.c index 9ec4b070ff..53c664e5a5 100644 --- a/input/ps3_input.c +++ b/input/ps3_input.c @@ -59,8 +59,7 @@ static inline int16_t convert_u8_to_s16(uint8_t val) { if (val == 0) return -0x7fff; - else - return val * 0x0101 - 0x8000; + return val * 0x0101 - 0x8000; } static void ps3_input_poll(void *data)