staging: dgap: re-factor some code for 80+ lines as reported by checkpatch
authorMark Hounschell <markh@compro.net>
Wed, 19 Mar 2014 15:10:50 +0000 (11:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 15:49:06 +0000 (08:49 -0700)
commit8cdd76391e66150b5563658bdca576428c74df34
tree4aef65b905ff77e9cad92992242c932510b2d9dd
parentd658f90f48f0a48c4d29a5d716ea665f1451a570
staging: dgap: re-factor some code for 80+ lines as reported by checkpatch

This patch re-factors some code to fix some 80+ lines as reported by checkpatch.
This patch was suggested and authored by Dan Carpenter. A test case for this
patch has been written and used to show the patch to be correct.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Hounschell <markh@compro.net>
Tested-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c