]> git.baikalelectronics.ru Git - kernel.git/commit
phy: cadence: Sierra: remove redundant initialization of pointer regmap
authorColin Ian King <colin.king@canonical.com>
Wed, 8 Jan 2020 06:29:36 +0000 (11:59 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 14 Jan 2020 05:20:19 +0000 (10:50 +0530)
commitbf61984bde8cdf0fba8446d7823cfe00c56557ae
treee0a8335b18da5c50bb3bec4d8b1661c7f5880391
parent17e4ab6b351123d6e6a1170f411a9f353321b1eb
phy: cadence: Sierra: remove redundant initialization of pointer regmap

The pointer regmap is being initialized with a value that is never
read and it is being updated later with a new value from
phy->regmap_common_cdb.  The initialization is redundant and can be
removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/cadence/phy-cadence-sierra.c