From: Stefan Hajnoczi Date: Sat, 19 Jan 2013 10:18:43 +0000 (+0100) Subject: staging: line6: clean up line6_pod_process_message() X-Git-Tag: v3.9-rc1~127^2~364 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e6a8ffba2add23223dc0231c1f818d00813c55b;p=pandora-kernel.git staging: line6: clean up line6_pod_process_message() Previous versions of the line6 driver snooped MIDI traffic in order to make device state accessible via sysfs attributes. This involved a lot of logic in line6_pod_process_message() that has since been removed. Drop unused conditionals in line6_pod_process_message() and reduce the levels of indentation. Only two MIDI messages are still tracked: the POD version message on startup and monitor level changes originating from the device. Signed-off-by: Stefan Hajnoczi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed