aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-10-15 11:50:34 +0000
committerRafael J. Wysocki <[email protected]>2017-11-08 23:43:30 +0000
commit71c50dbe1f4e5b964786e3680f4b92df9ccc630b (patch)
tree0d8dbde4438fae9bf7528087caa26d0531db458a /drivers/tty/serial/sccnxp.c
parentLinux 4.14-rc8 (diff)
downloadkernel-71c50dbe1f4e5b964786e3680f4b92df9ccc630b.tar.gz
kernel-71c50dbe1f4e5b964786e3680f4b92df9ccc630b.zip
ACPI / LPSS: Remove redundant initialization of clk
The pointer clk is being initialized to ERR_PTR(-ENODEV) however this value is never read before it is set to clk_data->clk. Thus the initialization is redundant and can be mored. Cleans up clang warning: Value stored to 'clk' during its initialization is never read Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions