Explorar el Código

Bluetooth: Clean up ath3k_load_firmware()

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Gustavo F. Padovan hace 14 años
padre
commit
0733119c0b
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      drivers/bluetooth/ath3k.c

+ 0 - 3
drivers/bluetooth/ath3k.c

@@ -138,9 +138,6 @@ static int ath3k_load_firmware(struct usb_device *udev,
 		count -= size;
 	}
 
-	kfree(send_buf);
-	return 0;
-
 error:
 	kfree(send_buf);
 	return err;