Staging: bcm: Clean up patch that calls semaphore down_trylock directly.
authorKevin McKinney <klmckinney1@gmail.com>
Mon, 28 Nov 2011 01:51:45 +0000 (20:51 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 29 Nov 2011 01:09:52 +0000 (10:09 +0900)
commitfef5675ecbeb0c92d49c8b350e1324164bb348a5
tree83e7b42854cb5708d23833cce24944127a82afaa
parent70bd4399bbdd4dd35697664af00fcd48cb2008a2
Staging: bcm: Clean up patch that calls semaphore down_trylock directly.

This patch evaluates/calls the down_trylock locking
function directly, instead of storing the results
in a variable and evaluating the variable. These
changes were made in:
IOCTL_BCM_BUFFER_DOWNLOAD_STOP and
IOCTL_BCM_BUFFER_DOWNLOAD_START.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Bcmchar.c