[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YBRZUHv+21FIQ/2g@smile.fi.intel.com>
Date: Fri, 29 Jan 2021 20:52:00 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: mail@...hard-neumann.de
Cc: syniurge@...il.com, nehal-bakulchandra.shah@....com,
shyam-sundar.s-k@....com, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 2/2] Removed unused work_amd_i2c_common macro
On Fri, Jan 29, 2021 at 07:26:06PM +0100, mail@...hard-neumann.de wrote:
> From: Richard Neumann <mail@...hard-neumann.de>
>
> The macro work_amd_i2c_common is not used anywhere in the driver.
> Removed it.
After addressing Subject as per comment against the previous patch, feel free
to add
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Signed-off-by: Richard Neumann <mail@...hard-neumann.de>
> ---
> drivers/i2c/busses/i2c-amd-mp2.h | 3 ---
> 1 file changed, 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);
> --
> 2.30.0
>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists