Skip to content

Commit

Permalink
platform/x86: surface3_power: Drop unused structure definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andy Shevchenko committed Mar 28, 2020
1 parent b1f81b4 commit c9c1091
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/platform/x86/surface3_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c9c1091

Please sign in to comment.