]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
platform/x86: surface3_power: Drop unused structure definition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 27 Mar 2020 10:45:34 +0000 (12:45 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 28 Mar 2020 20:37:29 +0000 (22:37 +0200)
As reported by kbuild bot the struct mshw0011_lookup in never used.
Drop its definition for good.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/surface3_power.c

index 42331d1786744e35d093080fc19700cafb342462..9cdae35c98029968e1d5db6565f3935ca8dc00b9 100644 (file)
@@ -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;