Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2022931pxb; Fri, 29 Jan 2021 10:55:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrPjlUatawBYg9pkZPGFCunVpogxSvZ1jAjtaRLG+o+cI1GFjkRUED15qcnztOdBsDYs2O X-Received: by 2002:a17:906:154d:: with SMTP id c13mr6191755ejd.471.1611946505918; Fri, 29 Jan 2021 10:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611946505; cv=none; d=google.com; s=arc-20160816; b=UTvUPaJ8lQZPg3Yta2yC6v9Nta0nisC6V8XUYaLGLQDL7dRx5pnSxNcm2W8SAWxFWq JMaTJXQZUItAT6jS84SEwi52VkBrlUqyLGzQI8j3fUJ1T1HGLm1TFc2cuLedyouW/fwP kKqoD9Rx4S4BZAZomU7whcAdRZUUAJenYrdYym+6lCM5XFEbPEQZlYo1/gENvxiL5e4n AmhhU9rp8o1E8qWpV8isSEZF8IQV6T2r88HgSRsZ7icoIz99SPN5qxSb41GT+zIk+WDO 4pb+PrgyPgQOdwA3P6kCaJmGWJMrex6exriUA1SZ5+dkKrZOrmIAn1NocXVBrXmKq2XA PPyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=kiM7E+/yE+6wTnSrw7JG2MMovmozC+ZqnB5xSaiUbCo=; b=usk1aPnbvtsZAWUd6k3+J3Oxz2c1c3YuypudjnKj42sj6GpO41U9hW/GKYHLQ5Sd+X gF4lhGLrsWuQwrlJAbPmH5UzXi9KBCFJai5Z2+FUVHAueLemacIipTosztrtMZuQUiOp IKA6bwjsxpccVC4hN2A5k/Xi/asO6ymKkoQeMqlUvpHII20Inp9z5jZMmX7iBCjNvqxf Nyd09ji61eGdDYjcxu6Ui86SfAXT7JIh30t5zRxsQTpumhhLODt56i+teGF46HZXXI0s TfWnFhETpxLtfF2IpblETz9ATCm2RNAOh/IFOj5vmnD52OzgAMqul9mWK/OWqSAeH0/I byWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si5618289ejb.312.2021.01.29.10.54.41; Fri, 29 Jan 2021 10:55:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232555AbhA2Sxw (ORCPT + 99 others); Fri, 29 Jan 2021 13:53:52 -0500 Received: from mga17.intel.com ([192.55.52.151]:42163 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230249AbhA2Sxv (ORCPT ); Fri, 29 Jan 2021 13:53:51 -0500 IronPort-SDR: Bnw53z9N5IeGLdv1QfyXjfeTxka4jx+mDfMJn8PU0Djd6Meobu/pDOz33BqHPOt4OvM/1DcABJ ssn+fBWORfPw== X-IronPort-AV: E=McAfee;i="6000,8403,9879"; a="160239891" X-IronPort-AV: E=Sophos;i="5.79,386,1602572400"; d="scan'208";a="160239891" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2021 10:52:05 -0800 IronPort-SDR: /G/aiajG3klOvHX+Q9XE4sY9PUo0wqyC/ctfzGgJLpV/ttUHQmG0Zsoiobswk81m5KxGotvQ+W UUoHUQ9JUYbA== X-IronPort-AV: E=Sophos;i="5.79,386,1602572400"; d="scan'208";a="475049426" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2021 10:52:03 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1l5YsC-000SA0-W3; Fri, 29 Jan 2021 20:52:00 +0200 Date: Fri, 29 Jan 2021 20:52:00 +0200 From: Andy Shevchenko To: mail@richard-neumann.de Cc: syniurge@gmail.com, nehal-bakulchandra.shah@amd.com, shyam-sundar.s-k@amd.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 2/2] Removed unused work_amd_i2c_common macro Message-ID: References: <20210129182606.41518-1-mail@richard-neumann.de> <20210129182606.41518-3-mail@richard-neumann.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210129182606.41518-3-mail@richard-neumann.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 29, 2021 at 07:26:06PM +0100, mail@richard-neumann.de wrote: > From: Richard Neumann > > 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 > Signed-off-by: Richard Neumann > --- > 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