]> git.baikalelectronics.ru Git - uboot.git/commit
sh: tmu: Inline tmu_timer_{start,stop}()
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Fri, 24 Aug 2018 19:23:04 +0000 (21:23 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 15 Sep 2018 01:19:07 +0000 (03:19 +0200)
commit6c788cff3979e5b8f0ea4156c9253f44d837bb2a
tree01d72ae0247a3dc8c3ba6ee4a81d576d55cf6b7e
parent2a532e4d6079124882f9ca92e7f7aecddbfc81f3
sh: tmu: Inline tmu_timer_{start,stop}()

These functions are always called for timer = 0, so drop the
timer check. Since these functions are called from one place
only and they are reduced to one line of code, just inline
them.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
arch/sh/lib/time.c