Simplify search in ioctl table
Simplify search in ioctl table

   text	   data	    bss	    dec	    hex	filename
 236973	    704	  18944	 256621	  3ea6d	strace.before
 236929	    704	  18944	 256577	  3ea41	strace

* ioctl.c (compare): Simplify generation of compare result.
(ioctl_lookup): Pass key directly, not as part of dummy struct.
(ioctl_next_match): More readable code. No logic changes.

Signed-off-by: Denys Vlasenko <42afb3a19136e88700e8b77002ea6a5a94c16782@googlemail.com>

AOSP-YU/platform_external_strace,jamel/strace-plus,cuviper/strace,pgbovine/strace-plus,Infinitive-OS/platform_external_strace,bigzz/strace_android,CyanogenMod/android_external_strace,geofft/strace,Distrotech/strace,Andrey9kin/revisor,vrastogi/strace,DirtyUnicorns/android_external_strace,DirtyUnicorns/android_external_strace,kapdop/android_external_strace,android-ia/platform_external_strace,Yu-AndroidM/android_external_strace,android-ia/platform_external_strace,Andrey9kin/revisor,bnoordhuis/strace,android-ia/platform_external_strace,android-ia/platform_external_strace,bnoordhuis/strace,bnoordhuis/strace,bigzz/strace_android,YUPlayGodDev/platform_external_strace,TeamExodus/external_strace,TeamExodus/external_strace,Distrotech/strace,kapdop/android_external_strace,MonkeyZZZZ/platform_external_strace,cuviper/strace,Yu-AndroidM/android_external_strace,TeamExodus/external_strace,pgbovine/strace-plus,xin3liang/platform_external_strace,DirtyUnicorns/android_external_strace,jamel/strace-plus,pgbovine/strace-plus,gcode-mirror/strace-plus,jamel/strace-plus,Distrotech/strace,Saruta/strace,Saruta/strace,xin3liang/platform_external_strace,bigzz/strace_android,gcode-mirror/strace-plus,YUPlayGodDev/platform_external_strace,Infinitive-OS/platform_external_strace,kapdop/android_external_strace,Yu-AndroidM/android_external_strace,YUPlayGodDev/platform_external_strace,xin3liang/platform_external_strace,vrastogi/strace,Infinitive-OS/platform_external_strace,Saruta/strace,lizh06/strace-plus,gcode-mirror/strace-plus,geekboxzone/mmallow_external_strace,bnoordhuis/strace,Andrey9kin/revisor,DirtyUnicorns/android_external_strace,pombredanne/strace,lizh06/strace-plus,Infinitive-OS/platform_external_strace,geekboxzone/lollipop_external_strace,CyanogenMod/android_external_strace,AOSP-YU/platform_external_strace,lizh06/strace-plus,MonkeyZZZZ/platform_external_strace,vrastogi/strace,geofft/strace,geofft/strace,gcode-mirror/strace-plus,geofft/strace,cuviper/strace,android-ia/platform_external_strace,YUPlayGodDev/platform_external_strace,Yu-AndroidM/android_external_strace,MonkeyZZZZ/platform_external_strace,geekboxzone/mmallow_external_strace,Infinitive-OS/platform_external_strace,cuviper/strace,pombredanne/strace,lkundrak/strace,geekboxzone/lollipop_external_strace,CyanogenMod/android_external_strace,pombredanne/strace,AOSP-YU/platform_external_strace,lizh06/strace-plus,CyanogenMod/android_external_strace,TeamExodus/external_strace,geekboxzone/lollipop_external_strace,lkundrak/strace,jamel/strace-plus,Distrotech/strace,kapdop/android_external_strace,CyanogenMod/android_external_strace,geekboxzone/mmallow_external_strace,vrastogi/strace,geekboxzone/mmallow_external_strace,AOSP-YU/platform_external_strace,kapdop/android_external_strace,lizh06/strace-plus,geekboxzone/mmallow_external_strace,Saruta/strace,DirtyUnicorns/android_external_strace,jamel/strace-plus,xin3liang/platform_external_strace,geekboxzone/lollipop_external_strace,geekboxzone/lollipop_external_strace,Saruta/strace,vrastogi/strace,MonkeyZZZZ/platform_external_strace,bigzz/strace_android,lkundrak/strace,AOSP-YU/platform_external_strace,YUPlayGodDev/platform_external_strace,TeamExodus/external_strace,pgbovine/strace-plus,cuviper/strace,MonkeyZZZZ/platform_external_strace,gcode-mirror/strace-plus,lkundrak/strace,geofft/strace,pgbovine/strace-plus,pombredanne/strace,bigzz/strace_android,Andrey9kin/revisor,Yu-AndroidM/android_external_strace,Distrotech/strace