staging: dgap: tty.c: removes smatch warning "ignoring unreachable code"
authorLidza Louina <lidza.louina@gmail.com>
Mon, 23 Sep 2013 22:47:14 +0000 (18:47 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:18:10 +0000 (16:18 -0700)
commit913b6f8e0dccadb1189e945d7438047d59efe785
tree81ad76373b651350d1906bee9fb40fab2306f942
parent57a42192e61e7d0074fa6027e2565461bfd60147
staging: dgap: tty.c: removes smatch warning "ignoring unreachable code"

This patch removes this smatch warning:
info: ignoring unreachable code.

There were instances where there was extra code after
the default action in switch statements. These default
actions ended with a break so the code wasn't being run
at anytime. This patch removes that extra code.

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_tty.c