Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/mouse/mousedev.c

    r622e7c9 r21cd0c8  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2011 Lubos Slovak, Vojtech Horky
    34 * Copyright (c) 2018 Ondrej Hlavaty
     
    4647#include <str_error.h>
    4748#include <ipc/mouseev.h>
    48 #include <io/console.h>
    4949
    5050#include <ipc/kbdev.h>
     
    167167        assert(mouse_dev != NULL);
    168168
    169         if (mouse_dev->mouse_sess == NULL) {
    170                 usb_log_warning(NAME " No console session.");
    171                 return;
    172         }
     169        if (mouse_dev->mouse_sess == NULL)
     170                return;
    173171
    174172        const usb_hid_report_field_t *move_x = get_mouse_axis_move_field(
Note: See TracChangeset for help on using the changeset viewer.