From: Adrian Bunk Date: Fri, 29 Sep 2006 08:59:05 +0000 (-0700) Subject: [PATCH] drivers/char/pc8736x_gpio.c: remove unused static functions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6299a2dec89d22940e36832f15c0addfb77e6910;p=openwrt%2Fstaging%2Fblogic.git [PATCH] drivers/char/pc8736x_gpio.c: remove unused static functions drivers/char/pc8736x_gpio.c:192: warning: #pc8736x_gpio_set_high# defined but not used drivers/char/pc8736x_gpio.c:197: warning: #pc8736x_gpio_set_low# defined but not used Signed-off-by: Adrian Bunk Acked-by: Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/pc8736x_gpio.c b/drivers/char/pc8736x_gpio.c index 84e5a68635f1..ecfaf180e5bd 100644 --- a/drivers/char/pc8736x_gpio.c +++ b/drivers/char/pc8736x_gpio.c @@ -188,16 +188,6 @@ static void pc8736x_gpio_set(unsigned minor, int val) pc8736x_gpio_shadow[port] = val; } -static void pc8736x_gpio_set_high(unsigned index) -{ - pc8736x_gpio_set(index, 1); -} - -static void pc8736x_gpio_set_low(unsigned index) -{ - pc8736x_gpio_set(index, 0); -} - static int pc8736x_gpio_current(unsigned minor) { int port, bit;