From: Andy Shevchenko Date: Fri, 27 Mar 2020 10:45:34 +0000 (+0200) Subject: platform/x86: surface3_power: Drop unused structure definition X-Git-Tag: v5.7-rc1~148^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9c10913ea00111b7ce3304634e8131ec073495e;p=thirdparty%2Fkernel%2Flinux.git platform/x86: surface3_power: Drop unused structure definition As reported by kbuild bot the struct mshw0011_lookup in never used. Drop its definition for good. Reported-by: kbuild test robot Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/surface3_power.c b/drivers/platform/x86/surface3_power.c index 42331d1786744..9cdae35c98029 100644 --- a/drivers/platform/x86/surface3_power.c +++ b/drivers/platform/x86/surface3_power.c @@ -56,13 +56,6 @@ struct mshw0011_data { s32 full_capacity; }; -struct mshw0011_lookup { - struct mshw0011_data *cdata; - unsigned int n; - unsigned int index; - int addr; -}; - struct mshw0011_handler_data { struct acpi_connection_info info; struct i2c_client *client;