helper/log: remove dead code in log_forward() 79/4779/2
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 26 Nov 2018 15:49:05 +0000 (16:49 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 11 Dec 2018 13:26:05 +0000 (13:26 +0000)
commit8f47a09cc55a1d2030b7d0df11668b6cb4f2a905
tree523b71fafc34d386c4be816e5938b704bade4984
parentd5f82eea3d8f5a467bcbe40b43bf2daf74896984
helper/log: remove dead code in log_forward()

Commit f1be0e6af2e204805a8bc2e8cadf828b9fa46c98 ("HELPER/LOG:
review unused symbols") removed a set of unused functions and,
as consequence, there is no code anymore that sets the variable
"log_forward_count". But, the commit above did not removed the
code (now dead) that depends on "log_forward_count" set.

Remove the code dependant on "log_forward_count" set and the
variable itself.

Change-Id: I6efe93d1dccbe13c409c5bc55ba47a2684c0e3ac
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4779
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/helper/log.c