]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
i2c: tegra: Remove likely/unlikely from the code
authorDmitry Osipenko <digetx@gmail.com>
Tue, 29 Sep 2020 22:19:01 +0000 (01:19 +0300)
committerWolfram Sang <wsa@kernel.org>
Mon, 5 Oct 2020 20:57:42 +0000 (22:57 +0200)
commit055ba33154a755c0fe79ec174d3b6f9353e0be11
tree56967936e49e635ff71ec79861eea671cbc3ac5e
parent56f1cd34a4e7a2d10f41e8d8e27d16a157fdd74d
i2c: tegra: Remove likely/unlikely from the code

The likely/unlikely annotations should be used only in a hot paths of
performance-critical code. The I2C driver doesn't have such paths, and
thus, there is no justification for usage of likely/unlikely annotations
in the code. Hence remove them.

Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-tegra.c