ARM: ADIv5, deadcode cleanup
commitecff73043c1ddcc97d4d1ea1c87f251a850b22d4
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:54:54 +0000 (21 14:54 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Feb 2010 22:54:54 +0000 (21 14:54 -0800)
treea742cc39ff121545b9d79a7776c3b25a6d9effd1
parent39cfe6279616a69b858ddd3493d61ed7133ff081
ARM: ADIv5, deadcode cleanup

I have no idea what the scan_inout_check() was *expecting* to achieve by
issuing a read of the DP_RDBUFF register.  But in any case, that code was
clearly never being called ("invalue" always NULL) ... so remove it, and
the associated comment.

Also rename it as ap_write_check(), facilitating a cleanup of its single
call site by removing constant parameters.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/arm_adi_v5.c