Tag: db2cf865c75792f2e52596bf3e94e9a98272becf

ath10k: delete unnecessary checks before the function call “release_firmware”

Author: Markus Elfring <elfring@users.sourceforge.net> The release_firmware() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Kalle Valo — drivers/net/wireless/ath/ath10k/core.c | 8 ++++—- 1 file changed, 4 insertions(+), 4 deletions(-)   diff …

Continue reading