]> git.dujemihanovic.xyz Git - u-boot.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)
commit15f11fc6d72175ff5b7763f03d7b0d502efd24af
tree01d72ae0247a3dc8c3ba6ee4a81d576d55cf6b7e
parenteb05dcfea29bbafbc9f8ce3b7894e3e53f35d743
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