USB: ftdi-elan: fix sparse warnings
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Oct 2006 19:24:49 +0000 (12:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:31 +0000 (14:46 -0700)
commit96a518928e1fd00a6d0eb344f420ea82aeec8ab9
treeb9482d646329df33edd77dc85041b5fd5613bf2b
parent516077c1ee8a4a47cc41634a29954b636f3975ea
USB: ftdi-elan: fix sparse warnings

Deleted some unused code that could do bad things on non-x86 platforms.

Also fixed some minor formatting errors.

Thanks to Al Viro for pointing out the sparse errors.

Cc: Tony Olech <tony.olech@elandigitalsystems.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/ftdi-elan.c