From 8b97ad1b7e050083700cb30ca0276bd3902bf75b Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 7 Oct 2021 14:37:57 -0400 Subject: [PATCH] remove unused self in usb_hid_enable --- shared-bindings/usb_hid/__init__.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/shared-bindings/usb_hid/__init__.c b/shared-bindings/usb_hid/__init__.c index 5c903dda5d..b0d488fd19 100644 --- a/shared-bindings/usb_hid/__init__.c +++ b/shared-bindings/usb_hid/__init__.c @@ -104,8 +104,6 @@ MP_DEFINE_CONST_FUN_OBJ_0(usb_hid_disable_obj, usb_hid_disable); //| ... //| STATIC mp_obj_t usb_hid_enable(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { - usb_hid_device_obj_t *self = MP_OBJ_TO_PTR(pos_args[0]); - enum { ARG_devices, ARG_boot_device }; static const mp_arg_t allowed_args[] = { { MP_QSTR_devices, MP_ARG_REQUIRED | MP_ARG_OBJ },