OSDN Git Service

usb: phy: ab8500: remove unused ab8500_eyediagram_workaroud()
authorArnd Bergmann <arnd@arndb.de>
Wed, 25 Jan 2017 22:30:31 +0000 (23:30 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 26 Jan 2017 08:51:27 +0000 (10:51 +0200)
commitdf2c0cc1093495df6f44e9b558edebcd52d42b03
tree5a95b403d816896a93bf6b0c1cd989602b3342a4
parent5528954a1a0c49c6974ef1b8d6eaceff536204d5
usb: phy: ab8500: remove unused ab8500_eyediagram_workaroud()

The only caller of this function is gone, so now we get a warning:

drivers/usb/phy/phy-ab8500-usb.c:1026:17: error: 'ab8500_eyediagram_workaroud' defined but not used [-Werror=unused-function]

It is possible that we should in fact still call the function from
somewhere else, but I don't see from where.

Fixes: 635f997a499b ("usb: phy: ab8500: Remove the set_power callback")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-ab8500-usb.c