i2c: designware: Remove needless variable from i2c_dw_init_slave()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Tue, 19 Jun 2018 11:23:18 +0000 (14:23 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 3 Jul 2018 21:05:00 +0000 (23:05 +0200)
commit6e6bcc0d30079056ad12946fb8c51e31ebce8d07
treed92b5321c2a306cd919793c7181f94a14f98fafa
parent25184082459604f0f162da1b4bf077ed15503864
i2c: designware: Remove needless variable from i2c_dw_init_slave()

Commit 43df43e6ba13 ("i2c: designware: Don't set SCL timings and speed
mode when in slave mode") made variable comp_param1 needless in
i2c_dw_init_slave(). Remove it now.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-slave.c