]> asedeno.scripts.mit.edu Git - linux.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)
commit80f96fb186a3134a886d696c0a1ecc1962f36c89
treee0a8335b18da5c50bb3bec4d8b1661c7f5880391
parent42d068472ddf532f3ca2bcdd06d1ca6b53f57e5e
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