i2c: rk3x: Fix variable 'min_total_ns' unused warning
authorDavid Wu <david.wu@rock-chips.com>
Thu, 22 Sep 2016 11:29:24 +0000 (19:29 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 Sep 2016 17:51:38 +0000 (19:51 +0200)
commit72cf8c565cf4e25312fb9fa65d306ae736104ade
tree3e0c27c7642ff44ef8d152b588ca5ac11b782f73
parenta8a7d09e7304b107957e8c45882cdbb5b51bd111
i2c: rk3x: Fix variable 'min_total_ns' unused warning

This patch fixs the following warning:
drivers/i2c/busses/i2c-rk3x.c: In function 'rk3x_i2c_v1_calc_timings':
drivers/i2c/busses/i2c-rk3x.c:745:41: warning: variable 'min_total_ns' set but not used [-Wunused-but-set-variable]

Reported-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-rk3x.c