Re: [PATCH 1/2] toshiba_acpi: Remove bluetooth rfkill code

From: Darren Hart
Date: Sun May 03 2015 - 15:20:06 EST


On Mon, Apr 27, 2015 at 02:30:53PM -0600, Azael Avalos wrote:
> This patch removes all bluetooth rfkill related code residing in
> the toshiba_acpi driver.
>
> Separate patches will add (and adapt) the code to toshiba_bluetooth
> (where it belongs).
>
> Signed-off-by: Azael Avalos <coproscefalo@xxxxxxxxx>

Hi Azael,

With this applied the driver as build warnings:

...
CC [M] drivers/platform/x86/toshiba_acpi.o
drivers/platform/x86/toshiba_acpi.c: In function âtoshiba_acpi_addâ:
drivers/platform/x86/toshiba_acpi.c:2636:7: warning: unused variable âbt_presentâ [-Wunused-variable]
bool bt_present;
^
drivers/platform/x86/toshiba_acpi.c: At top level:
drivers/platform/x86/toshiba_acpi.c:358:12: warning: âhci_write2â defined but not used [-Wunused-function]
static u32 hci_write2(struct toshiba_acpi_dev *dev, u32 reg, u32 in1, u32 in2)

I presume these should be removed as well?

Thanks,

--
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/