Skip to content

Commit e29eaf1

Browse files
wb-zjp846396brgl
authored andcommitted
gpio: mxs: remove useless function
Fix the following gcc warning: drivers/gpio/gpio-mxs.c:63:19: warning: kernel/sys_ni.cunused function 'is_imx28_gpio'. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
1 parent 56b01ac commit e29eaf1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/gpio/gpio-mxs.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ static inline int is_imx23_gpio(struct mxs_gpio_port *port)
6060
return port->devid == IMX23_GPIO;
6161
}
6262

63-
static inline int is_imx28_gpio(struct mxs_gpio_port *port)
64-
{
65-
return port->devid == IMX28_GPIO;
66-
}
67-
6863
/* Note: This driver assumes 32 GPIOs are handled in one register */
6964

7065
static int mxs_gpio_set_irq_type(struct irq_data *d, unsigned int type)

0 commit comments

Comments
 (0)