Commit c987ce93 authored by Jesper Juhl's avatar Jesper Juhl Committed by John W. Linville
Browse files

wireless, at76c50x:: Don't needlessly test for NULL before calling release_firmware()

The release_firmware() function deals gracefully with being passed a
NULL pointer, so explicit tests before the call are rather pointless.
Signed-off-by: default avatarJesper Juhl <>
Signed-off-by: default avatarJohn W. Linville <>
parent ec71a07d
......@@ -2512,10 +2512,8 @@ static void __exit at76_mod_exit(void)
printk(KERN_INFO DRIVER_DESC " " DRIVER_VERSION " unloading\n");
for (i = 0; i < ARRAY_SIZE(firmwares); i++) {
if (firmwares[i].fw)
for (i = 0; i < ARRAY_SIZE(firmwares); i++)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment