diff options
author | Richard Neumann <mail@richard-neumann.de> | 2021-02-01 20:51:38 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-02-02 01:01:50 +0300 |
commit | 622fa41b496d5d15247727cbfc5d000f36755bbc (patch) | |
tree | 8473b190f29db81cd1a601ed88b2bac01f830b83 /drivers/i2c | |
parent | 267e82b9592d0d97f732d65a63db12b0e0d73bd4 (diff) | |
download | linux-622fa41b496d5d15247727cbfc5d000f36755bbc.tar.xz |
i2c: amd-mp2: Remove unused macro
Remove unused work_amd_i2c_common() macro.
Signed-off-by: Richard Neumann <mail@richard-neumann.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-amd-mp2.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-amd-mp2.h b/drivers/i2c/busses/i2c-amd-mp2.h index 6b91e285745d..ddecd0c88656 100644 --- a/drivers/i2c/busses/i2c-amd-mp2.h +++ b/drivers/i2c/busses/i2c-amd-mp2.h @@ -185,9 +185,6 @@ struct amd_mp2_dev { unsigned int probed; }; -#define work_amd_i2c_common(__work) \ - container_of(__work, struct amd_i2c_common, work.work) - /* PCIe communication driver */ int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd); |