OSDN Git Service

platform/x86: dell-smo8800: remove redundant assignments to byte_data
authorColin Ian King <colin.king@canonical.com>
Tue, 31 Oct 2017 11:03:18 +0000 (11:03 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 5 Nov 2017 11:53:14 +0000 (13:53 +0200)
commitce7ff1cffdaf82354aca5f4c8691e5c85474fbde
tree2212e453c43111714cf02a6745ba0e8b295ac8ee
parent9968e12a291e639dd51d1218b694d440b22a917f
platform/x86: dell-smo8800: remove redundant assignments to byte_data

Variable byte_data is being initialized and re-assigned with values that
are never read. Remove these as these redundant assignments. Cleans up
clang warning:

drivers/platform/x86/dell-smo8800.c:106:2: warning: Value stored to 'byte_data'
is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-smo8800.c