aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorLinyu Yuan <[email protected]>2021-11-18 12:53:31 +0800
committerGreg Kroah-Hartman <[email protected]>2021-11-23 14:12:47 +0100
commitff5a938d12f213194d796d3018b102389b7d9f9c (patch)
treec2bc3033990cdd56764a0b45206654a25cbd1971 /tools/perf/scripts/python/event_analyzing_sample.py
parent167a799c6e88b700c386a010ba3c77ebdbd21a8e (diff)
usb: gadget: configfs: remove os_desc_attr_release()
it is not allow to create sub group under os_desc, /sys/kernel/config/usb_gadget/dummy/os_desc # mkdir dummy mkdir: can't create directory 'dummy': Operation not permitted no one will kmalloc() os_desc entry and kfree(os_desc) will never be called. static void os_desc_attr_release(struct config_item *item) { struct os_desc *os_desc = to_os_desc(item); kfree(os_desc); } remove struct os_desc definition, to_os_desc() and os_desc_attr_release(). Reviewed-by: Jack Pham <[email protected]> Signed-off-by: Linyu Yuan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions