]> git.baikalelectronics.ru Git - kernel.git/commit
rsi: remove redundant flash_content variable
authorSiva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Mon, 16 Jul 2018 13:39:33 +0000 (19:09 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:15:54 +0000 (10:15 +0300)
commitc5f4038b2e8a5c9a52bb831566ae0b0611507111
treeba1a72dc685af85fee7971be6c2b176c57637b4e
parent9d57e26cf7c8899921a66cc1078c1eb5037f4af4
rsi: remove redundant flash_content variable

while cleaning up the driver, observed that flash_content pointer is not
necessary in rsi_load_firmware(). Instead of this, driver can use
'fw_entry->data' directly.Hence, removed redundant flash_content pointer.

Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_hal.c