vkbd: clean up empty lines in .c and .h files
This commit is contained in:
parent
00605fca48
commit
875af9c6af
@ -344,7 +344,7 @@ vkbd_dev_read(struct cdev *dev, struct uio *uio, int flag)
|
|||||||
state->ks_flags &= ~READ;
|
state->ks_flags &= ~READ;
|
||||||
|
|
||||||
VKBD_UNLOCK(state);
|
VKBD_UNLOCK(state);
|
||||||
|
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -649,7 +649,7 @@ vkbd_init(int unit, keyboard_t **kbdp, void *arg, int flags)
|
|||||||
imin(fkeymap_size*sizeof(fkeymap[0]), sizeof(fkey_tab)));
|
imin(fkeymap_size*sizeof(fkeymap[0]), sizeof(fkey_tab)));
|
||||||
kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size);
|
kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size);
|
||||||
kbd->kb_data = (void *)state;
|
kbd->kb_data = (void *)state;
|
||||||
|
|
||||||
KBD_FOUND_DEVICE(kbd);
|
KBD_FOUND_DEVICE(kbd);
|
||||||
KBD_PROBE_DONE(kbd);
|
KBD_PROBE_DONE(kbd);
|
||||||
|
|
||||||
@ -1071,7 +1071,7 @@ vkbd_check_char(keyboard_t *kbd)
|
|||||||
return (FALSE);
|
return (FALSE);
|
||||||
|
|
||||||
state = (vkbd_state_t *) kbd->kb_data;
|
state = (vkbd_state_t *) kbd->kb_data;
|
||||||
|
|
||||||
VKBD_LOCK(state);
|
VKBD_LOCK(state);
|
||||||
if (!(state->ks_flags & COMPOSE) && (state->ks_composed_char > 0))
|
if (!(state->ks_flags & COMPOSE) && (state->ks_composed_char > 0))
|
||||||
ready = TRUE;
|
ready = TRUE;
|
||||||
@ -1377,4 +1377,3 @@ vkbd_modevent(module_t mod, int type, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
DEV_MODULE(vkbd, vkbd_modevent, NULL);
|
DEV_MODULE(vkbd, vkbd_modevent, NULL);
|
||||||
|
|
||||||
|
@ -50,4 +50,3 @@ typedef struct vkbd_status vkbd_status_t;
|
|||||||
typedef struct vkbd_status * vkbd_status_p;
|
typedef struct vkbd_status * vkbd_status_p;
|
||||||
|
|
||||||
#endif /* ndef _VKBD_VAR_H_ */
|
#endif /* ndef _VKBD_VAR_H_ */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user