commit | e44fabbe7fbf8c71cd2e7d28078202e557b4e057 | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Mon Apr 09 22:52:04 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 18 13:52:35 2012 -0700 |
tree | f330c29b20bfae3b5f75d8dfec1af2e1f0a0197f | |
parent | c6fa0b4c4e09a13e034a1c6c542dc2b3539ba1b8 [diff] |
usb/storage/ene_ub6250: Remove redundant NULL check before release_firmware() and pointless assignment release_firmware() tests for a NULL pointer, so it's redundant to do that checking before calling it. Additionally, in ene_load_bincode(), 'sd_fw' is a local variable so setting it to NULL just before it goes out of scope is completely pointless, so remove that assignment. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>