drivers: auxdisplay: Remove unused variables
Remove unused variables for suppress warnings Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
325d7df026
commit
923f47dd80
2 changed files with 0 additions and 4 deletions
|
|
@ -153,7 +153,6 @@ static int auxdisplay_itron_init(const struct device *dev)
|
|||
|
||||
static int auxdisplay_itron_set_powered(const struct device *dev, bool enabled)
|
||||
{
|
||||
int rc = 0;
|
||||
uint8_t cmd[] = {AUXDISPLAY_ITRON_CMD_USER_SETTING, AUXDISPLAY_ITRON_CMD_ACTION,
|
||||
AUXDISPLAY_ITRON_CMD_N, AUXDISPLAY_ITRON_CMD_SCREEN_SAVER, 0};
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,6 @@ static int auxdisplay_pt6314_cursor_position_set(const struct device *dev,
|
|||
{
|
||||
const struct auxdisplay_pt6314_config *config = dev->config;
|
||||
struct auxdisplay_pt6314_data *data = dev->data;
|
||||
uint8_t inst;
|
||||
|
||||
if (type == AUXDISPLAY_POSITION_RELATIVE) {
|
||||
x += data->cursor_x;
|
||||
|
|
@ -273,8 +272,6 @@ static int auxdisplay_pt6314_write(const struct device *dev, const uint8_t *text
|
|||
static int auxdisplay_pt6314_init(const struct device *dev)
|
||||
{
|
||||
const struct auxdisplay_pt6314_config *config = dev->config;
|
||||
struct auxdisplay_pt6314_data *data = dev->data;
|
||||
uint8_t inst;
|
||||
|
||||
if (!device_is_ready(config->bus.bus)) {
|
||||
return -ENODEV;
|
||||
|
|
|
|||
Loading…
Reference in a new issue