Skip to content

Commit 5fe7067

Browse files
wb-zjp846396brgl
authored andcommitted
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: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: Simon Guinot <simon.guinot@sequanux.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
1 parent abd7a8e commit 5fe7067

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

drivers/gpio/gpio-it87.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,6 @@ static inline int superio_inw(int reg)
125125
return val;
126126
}
127127

128-
static inline void superio_outw(int val, int reg)
129-
{
130-
outb(reg++, REG);
131-
outb(val >> 8, VAL);
132-
outb(reg, REG);
133-
outb(val, VAL);
134-
}
135-
136128
static inline void superio_set_mask(int mask, int reg)
137129
{
138130
u8 curr_val = superio_inb(reg);

0 commit comments

Comments
 (0)