]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: save a variable in i2c_detect()
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 19 May 2020 11:48:09 +0000 (13:48 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 27 May 2020 10:05:54 +0000 (12:05 +0200)
commitc94a2f2a1aa9c4d93967ce3007dc5bdfea00a4b5
tree7ed2435d8aa016cd9667e3b4649072a5552aa862
parentae21901c93f48a9835be0ae44fd97f482f4a1a2d
i2c: save a variable in i2c_detect()

No need to populate a variable if it is used only in debug output which
may get compiled away anyhow.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-base.c