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)
committerDavid Wu <david.wu@rock-chips.com>
Fri, 23 Sep 2016 01:43:04 +0000 (09:43 +0800)
commita55a3e72a8bc9f72ac44144ea7794bcd5386dfde
treedec84dfdbb1ac9aac4313090d197cf70648e2278
parent62f63ea38085db4910f3a704a5726b918dceac8d
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]

Change-Id: I99da5c5dc80da040eb5333bdf204a71de472a332
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