[PATCH 0/2] Staging: Style cleanup and mem leak fixes fordrivers/staging/bcm/CmHost.c

From: Jesper Juhl
Date: Tue Jan 24 2012 - 17:44:34 EST


Hi

Here are two patches for drivers/staging/bcm/CmHost.c

I spotted some memory leaks and wanted to clean them up, but while doing
so I thought "this function could do with a style cleanup" - then looked
at another function and thought the same and then I looked at the entire
file and thought "Ok, before I touch anything in here I'm going to clean
it up to at least not hurt my eyes anymore".

So, the result is these two patches; the first does a basic style cleanup
- far from perfect, but a huge improvement on what was there before, and
the second fixes a few memory leaks.

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/