usb: Use static const, consolidate code
authorJoe Perches <joe@perches.com>
Tue, 21 Dec 2010 10:16:09 +0000 (02:16 -0800)
committerJoe Perches <joe@perches.com>
Tue, 21 Dec 2010 10:16:09 +0000 (02:16 -0800)
commit5591c75dc345d93d353d2ab2962824648a73efe4
treea30401fe622d24bdcc2ca8b95319fa1a31eb909d
parentb6bc765067ece933cc3dc7f5e95665a89100b1d5
usb: Use static const, consolidate code

Using static const generally increases object text and decreases data size.
It also generally decreases overall object size.

Consolidate duplicated code into new fix_crc_bug function
and declare data in that function static const.

Signed-off-by: Joe Perches <joe@perches.com>
drivers/net/usb/hso.c