diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-03-05 13:49:15 +0800 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2013-03-05 06:06:17 -0800 |
commit | 0fdc5cc3f296db134729fe58e074c20084b99459 (patch) | |
tree | 097c3d31633d6588416fd56873ab869633ff23e6 /ui/ncurses/nc-menu.c | |
parent | 6d51866f409e90274ff8cfb06b92a6c828692698 (diff) | |
download | talos-petitboot-0fdc5cc3f296db134729fe58e074c20084b99459.tar.gz talos-petitboot-0fdc5cc3f296db134729fe58e074c20084b99459.zip |
discover: simplify handler switch statement
Instead of using nested switch statements in device_handler_event,
define an array of handlers, and lookup instead.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui/ncurses/nc-menu.c')
0 files changed, 0 insertions, 0 deletions