Skip to content

Commit

Permalink
Remove set but unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisd1100 committed May 15, 2023
1 parent 7669a78 commit fc0602e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hid/ps4.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,10 @@ static bool ps4_state(struct hid_dev *device, const void *data, size_t dsize, MT
// Wired
if (d8[0] == 0x01) {
d8++;
dsize--;

// Bluetooth
} else if (d8[0] == 0x11) {
d8 += 3;
dsize -= 3;

} else {
return false;
Expand Down

0 comments on commit fc0602e

Please sign in to comment.