diff mbox series

[v3,2/2] i2c: i2c-amd-mp2: Remove unused macro

Message ID 20210201175138.8986-3-mail@richard-neumann.de
State Accepted
Commit 622fa41b496d5d15247727cbfc5d000f36755bbc
Headers show
Series i2c: i2c-amd-mp2: Clean up driver | expand

Commit Message

Richard Neumann Feb. 1, 2021, 5:51 p.m. UTC
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>
---
 drivers/i2c/busses/i2c-amd-mp2.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Wolfram Sang Feb. 1, 2021, 10:03 p.m. UTC | #1
On Mon, Feb 01, 2021 at 06:51:38PM +0100, Richard Neumann wrote:
> 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>

Applied to for-next, thanks!
diff mbox series

Patch

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);