]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: chipidea: imx: delete the dead code
authorPeter Chen <peter.chen@freescale.com>
Thu, 8 Aug 2013 06:52:54 +0000 (14:52 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:47 +0000 (09:54 +0800)
Remove an unused macro leftover from the old initialization code.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
drivers/usb/chipidea/ci_hdrc_imx.c

index ef3d32dc43976d7ddf6f6477c9f97e430e308055..1e8a4b9effbddd9523ba5c131a5e1b55d5662331 100644 (file)
@@ -24,9 +24,6 @@
 #include "ci.h"
 #include "ci_hdrc_imx.h"
 
-#define pdev_to_phy(pdev) \
-       ((struct usb_phy *)platform_get_drvdata(pdev))
-
 struct ci_hdrc_imx_data {
        struct usb_phy *phy;
        struct platform_device *ci_pdev;