]> granicus.if.org Git - strace/commit
evdev: remove additional indentation level for switch case labels
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 13 Oct 2019 15:13:52 +0000 (17:13 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 18 Oct 2019 20:00:48 +0000 (20:00 +0000)
commit8e033aab6040f3d1f9e7c7cfc269204abfc81375
tree8128145d6de6d2b47aa3b19c5631a77b3160ffb7
parent1e50b09fa717fc179fea6714ceb4e5f2572cc187
evdev: remove additional indentation level for switch case labels

And while we are here, factor out evdev_write_ioctl_mpers call
out of the switch statement.

* evdev.c (bit_ioctl, evdev_read_ioctl, evdev_ioctl): Remove
one indentation level inside the switch statements.
(evedev_write_ioctl): Remove one indentation level inside the switch
statement; move default branch out of the switch statement.
evdev.c
evdev_mpers.c