staging/csr: remove firmware pointer check before giving to release_firmware
authorDevendra Naga <develkernel412222@gmail.com>
Sat, 21 Jul 2012 07:22:17 +0000 (13:07 +0545)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 01:56:36 +0000 (18:56 -0700)
commit08fb73c1c842d32c15806bd9ae89531d5b0e31ea
treeed50c3c6820da834f817329db7ef03012646ae53
parent2dd58c9d8de3858c51a2f903cc40c0d919a7ce27
staging/csr: remove firmware pointer check before giving to release_firmware

we do a check of firmware pointer against the NULL value before we give
it to the release_firmware.

as release_firmware is actually having a check against NULL, its not needed
here.

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/csr/firmware.c