USB: typec: fsusb302: remove unused variables snk_pdo and toggling_mode_name
authorColin Ian King <colin.king@canonical.com>
Mon, 6 Aug 2018 11:14:14 +0000 (12:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 18:01:04 +0000 (20:01 +0200)
commit697fa834c3103cda43107bce1e1c3cfb7a4603ac
tree0682f404b7c53a89f41d2c9447a49b771661855a
parent2ccaabeb459a5a40852dec843ca88df7cf86a967
USB: typec: fsusb302: remove unused variables snk_pdo and toggling_mode_name

Variables snk_pdo and toggling_mode_name are defined but are not used and
hence can be removed.

Cleans up clang warnings:
warning: 'snk_pdo' defined but not used [-Wunused-const-variable=]
warning: 'toggling_mode_name' defined but not used [-Wunused-const-variable=]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/fusb302/fusb302.c