summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-08-14 09:43:57 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 19:34:15 (GMT)
commit9d84d551169ae24830f7f47a04f57736805dae92 (patch)
treef3901486a3e27a01c1211f99340fdad7ea76b68b
parent03779f05be6dfc48de99763f6c845a003e1e40f3 (diff)
downloadlinux-fsl-qoriq-9d84d551169ae24830f7f47a04f57736805dae92.tar.xz
usb: chipidea: imx: delete the dead code
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/chipidea/ci_hdrc_imx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
index 06bc775..a9a3bcf 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.c
+++ b/drivers/usb/chipidea/ci_hdrc_imx.c
@@ -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;