Update hid.c

Removed deleted code