From: Manivannan Sadhasivam <manisadhasivam.linux@gmail.com>
To: Tudor Ambarus <tudor.ambarus@linaro.org>
Cc: alim.akhtar@samsung.com, James.Bottomley@HansenPartnership.com,
martin.petersen@oracle.com, krzk@kernel.org,
linux-scsi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
andre.draszik@linaro.org, kernel-team@android.com,
willmcvicker@google.com
Subject: Re: [PATCH 1/2] scsi: ufs: exynos: remove empty drv_init method
Date: Tue, 12 Nov 2024 13:23:12 +0530 [thread overview]
Message-ID: <20241112075312.v3ir4ewg4kglckpf@thinkpad> (raw)
In-Reply-To: <20241030102715.3312308-1-tudor.ambarus@linaro.org>
On Wed, Oct 30, 2024 at 10:27:14AM +0000, Tudor Ambarus wrote:
> Remove empty method. When the method is not set, the call is not made,
> saving a few cycles.
>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
- Mani
> ---
> drivers/ufs/host/ufs-exynos.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c
> index 9ec318ef52bf..db89ebe48bcd 100644
> --- a/drivers/ufs/host/ufs-exynos.c
> +++ b/drivers/ufs/host/ufs-exynos.c
> @@ -198,11 +198,6 @@ static inline void exynos_ufs_ungate_clks(struct exynos_ufs *ufs)
> exynos_ufs_ctrl_clkstop(ufs, false);
> }
>
> -static int exynos7_ufs_drv_init(struct device *dev, struct exynos_ufs *ufs)
> -{
> - return 0;
> -}
> -
> static int exynosauto_ufs_drv_init(struct device *dev, struct exynos_ufs *ufs)
> {
> struct exynos_ufs_uic_attr *attr = ufs->drv_data->uic_attr;
> @@ -2036,7 +2031,6 @@ static const struct exynos_ufs_drv_data exynos_ufs_drvs = {
> EXYNOS_UFS_OPT_BROKEN_RX_SEL_IDX |
> EXYNOS_UFS_OPT_SKIP_CONNECTION_ESTAB |
> EXYNOS_UFS_OPT_USE_SW_HIBERN8_TIMER,
> - .drv_init = exynos7_ufs_drv_init,
> .pre_link = exynos7_ufs_pre_link,
> .post_link = exynos7_ufs_post_link,
> .pre_pwr_change = exynos7_ufs_pre_pwr_change,
> --
> 2.47.0.199.ga7371fff76-goog
>
>
--
மணிவண்ணன் சதாசிவம்
prev parent reply other threads:[~2024-11-12 7:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-30 10:27 [PATCH 1/2] scsi: ufs: exynos: remove empty drv_init method Tudor Ambarus
2024-10-30 10:27 ` [PATCH 2/2] scsi: ufs: exynos: remove superfluous function parameter Tudor Ambarus
2024-11-12 7:53 ` Manivannan Sadhasivam
2024-11-12 7:53 ` Manivannan Sadhasivam [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241112075312.v3ir4ewg4kglckpf@thinkpad \
--to=manisadhasivam.linux@gmail.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=alim.akhtar@samsung.com \
--cc=andre.draszik@linaro.org \
--cc=kernel-team@android.com \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=tudor.ambarus@linaro.org \
--cc=willmcvicker@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox