]> git.baikalelectronics.ru Git - kernel.git/commit
coresight: Don't initialize variables unnecessarily
authorStephen Boyd <swboyd@chromium.org>
Mon, 18 May 2020 18:02:36 +0000 (12:02 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 May 2020 14:31:17 +0000 (16:31 +0200)
commit0e34dc7618103e81ca77555d22493ee3e0a0e998
tree6a2433c0766ec81598e8efd94119e041517d0238
parente54d9c77d26649d7ed99b03873b20c8ffd5aecfe
coresight: Don't initialize variables unnecessarily

These variables are assigned again before they're used. Leave them
unassigned at first so that the compiler can detect problems in the
future with use before initialization.

Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200518180242.7916-18-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-cti-sysfs.c