iwmc3200top: clean up fw_download
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 16 Dec 2009 04:26:24 +0000 (04:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Dec 2009 22:13:31 +0000 (14:13 -0800)
commit9fa4d67c6e4d678271798f006ca1d945e8b2bd5c
tree9be8da798c79ba7511b6805886eb5d17d111ad2c
parent31d12926e37291970dd4f6e9940df3897766a81d
iwmc3200top: clean up fw_download

1. removed redundant NULL-pointers checks in iwmct_fw_load
as release_firmware and kfree are NULL pointer friendly
2. remove redundant memset of the parser since the structure
is fully initialized in iwmct_fw_parser_init function

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/misc/iwmc3200top/fw-download.c