Fixes all of the unused-but-set-variable warnings enabled when building with W=1. As described in the first patch, some warnings are left off. See said patch for more description. Michal Nazarewicz (4): usb: gadget: fix unused-but-set-variale warnings usb: gadget: m66592: fix unused-but-set-variable warnings usb: gadget: r8a66597: fix unused-but-set-variable warnings usb: gadget: mv_u3d: fix unused-but-set-variable warnings drivers/usb/gadget/function/f_fs.c | 3 +- drivers/usb/gadget/function/u_serial.c | 3 +- drivers/usb/gadget/legacy/g_ffs.c | 15 ++++------ drivers/usb/gadget/udc/amd5536udc.c | 9 +----- drivers/usb/gadget/udc/bdc/bdc_cmd.c | 3 -- drivers/usb/gadget/udc/bdc/bdc_ep.c | 4 --- drivers/usb/gadget/udc/dummy_hcd.c | 5 ---- drivers/usb/gadget/udc/m66592-udc.c | 24 ++++----------- drivers/usb/gadget/udc/mv_u3d_core.c | 23 ++------------- drivers/usb/gadget/udc/mv_udc_core.c | 9 ++---- drivers/usb/gadget/udc/net2272.c | 4 --- drivers/usb/gadget/udc/pch_udc.c | 54 +++++++++++++++------------------- drivers/usb/gadget/udc/pxa27x_udc.c | 3 -- drivers/usb/gadget/udc/r8a66597-udc.c | 24 ++++----------- drivers/usb/gadget/udc/udc-xilinx.c | 3 -- 15 files changed, 50 insertions(+), 136 deletions(-) -- Best regards ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ «If at first you don’t succeed, give up skydiving» -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html