parent f4ce9084476dc518bfd0f35f62f4bd0a130893e0 author Pavankumar Kondeti 1292490145 +0530 committer Greg Kroah-Hartman 1292543144 -0800 USB: gadget: Remove suspended sysfs file before freeing cdev cdev struct is accessed in suspended sysfs show function. So remove sysfs file before freeing the cdev in composite_unbind. Signed-off-by: Pavankumar Kondeti Signed-off-by: Greg Kroah-Hartman z