Commit 5fe70673 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Bartosz Golaszewski

gpio: it87: remove unused code

Fix the following clang warning:

drivers/gpio/gpio-it87.c:128:20: warning: unused function 'superio_outw'
[-Wunused-function].
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent abd7a8ea
...@@ -125,14 +125,6 @@ static inline int superio_inw(int reg) ...@@ -125,14 +125,6 @@ static inline int superio_inw(int reg)
return val; return val;
} }
static inline void superio_outw(int val, int reg)
{
outb(reg++, REG);
outb(val >> 8, VAL);
outb(reg, REG);
outb(val, VAL);
}
static inline void superio_set_mask(int mask, int reg) static inline void superio_set_mask(int mask, int reg)
{ {
u8 curr_val = superio_inb(reg); u8 curr_val = superio_inb(reg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment