summaryrefslogtreecommitdiffstats
path: root/target/linux/omap24xx/patches-2.6.38/595-cbus-tahvo-usb-leak.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/omap24xx/patches-2.6.38/595-cbus-tahvo-usb-leak.patch')
-rw-r--r--target/linux/omap24xx/patches-2.6.38/595-cbus-tahvo-usb-leak.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/omap24xx/patches-2.6.38/595-cbus-tahvo-usb-leak.patch b/target/linux/omap24xx/patches-2.6.38/595-cbus-tahvo-usb-leak.patch
deleted file mode 100644
index 2fd4276acb..0000000000
--- a/target/linux/omap24xx/patches-2.6.38/595-cbus-tahvo-usb-leak.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/drivers/cbus/tahvo-usb.c
-+++ b/drivers/cbus/tahvo-usb.c
-@@ -725,6 +725,8 @@ static int __init tahvo_usb_probe(struct
-
- static int __exit tahvo_usb_remove(struct platform_device *pdev)
- {
-+ struct tahvo_usb *tu = platform_get_drvdata(pdev);
-+
- dev_dbg(&pdev->dev, "remove\n");
-
- tahvo_free_irq(TAHVO_INT_VBUSON);
-@@ -734,6 +736,8 @@ static int __exit tahvo_usb_remove(struc
- #ifdef CONFIG_USB_OTG
- device_remove_file(&pdev->dev, &dev_attr_otg_mode);
- #endif
-+
-+ kfree(tu);
- tahvo_usb_device = NULL;
-
- return 0;