phy: rockchip-typec: remove unused dfp variable
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 3 Aug 2017 01:26:19 +0000 (09:26 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 22 Aug 2017 04:41:24 +0000 (10:11 +0530)
commit5e39c6cf575f0539a3cac86aa066624d17d86816
tree1961ec2dafa883b70bd332568a410244b6fac2be
parentfc938810d950f4846eb05b9af5614677e05c5a65
phy: rockchip-typec: remove unused dfp variable

In order to silent the 'W=1' compile warning:

drivers/phy/rockchip/phy-rockchip-typec.c: In function 'tcphy_get_mode':
drivers/phy/rockchip/phy-rockchip-typec.c:625:7: warning: variable 'dfp'
set but not used [-Wunused-but-set-variable]

Cc: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/rockchip/phy-rockchip-typec.c