staging: dgap: Fix various previously missed checkpatch errors
authorMark Hounschell <markh@compro.net>
Mon, 3 Mar 2014 18:45:42 +0000 (13:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Mar 2014 22:10:58 +0000 (14:10 -0800)
commit9b073ac53eea902712f88388b42efcebce211bec
treec914e5d343c001dfb9989b0d6ff40eaf66b8b7f6
parent8cbb5e3f9d0ba08fd151a3bb404d9183bb86be1a
staging: dgap: Fix various previously missed checkpatch errors

This patch fixes various small checkpatch errors
I missed in patches 01-10.

Remove check for kfree of brd->channels as kfree is safe.
Also there is no need to set it to NULL after freeing it.

Remove a useless cast for a kzalloc return value.

Remove double negative test in a white space fix line.

Signed-off-by: Mark Hounschell <markh@compro.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c