Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175280785
D52101.id160766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
656 B
Referenced Files
None
Subscribers
None
D52101.id160766.diff
View Options
diff --git a/sys/dev/hid/hkbd.c b/sys/dev/hid/hkbd.c
--- a/sys/dev/hid/hkbd.c
+++ b/sys/dev/hid/hkbd.c
@@ -1495,7 +1495,6 @@
#ifdef EVDEV_SUPPORT
struct epoch_tracker et;
#endif
- int error;
int i;
#if defined(COMPAT_FREEBSD6) || defined(COMPAT_FREEBSD5) || \
defined(COMPAT_FREEBSD4) || defined(COMPAT_43)
@@ -1563,11 +1562,8 @@
else
i &= ~CLKED;
}
- if (KBD_HAS_DEVICE(kbd)) {
- error = hkbd_set_leds(sc, i);
- if (error)
- return (error);
- }
+ if (KBD_HAS_DEVICE(kbd))
+ hkbd_set_leds(sc, i);
#ifdef EVDEV_SUPPORT
if (sc->sc_evdev != NULL && !HID_IN_POLLING_MODE()) {
epoch_enter_preempt(INPUT_EPOCH, &et);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 10, 4:14 PM (7 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40536083
Default Alt Text
D52101.id160766.diff (656 B)
Attached To
Mode
D52101: hkbd: remove erorr detection in KDSKBSTATE ioctl
Attached
Detach File
Event Timeline
Log In to Comment