Re: [PATCH] Remove redundant condition checking.

Pedro Alves
2013-01-15T21:19:29Z

On 01/15/2013 09:34 AM, Yao Qi wrote:
> Hi,
> Just find here is another redundant checking,
>
> if (lwp->bp_reinsert != 0) <-- [1]
> {
> if (debug_threads)
> fprintf (stderr, " pending reinsert at 0x%s\n",
> paddress (lwp->bp_reinsert));
>
> if (lwp->bp_reinsert != 0 && can_hardware_single_step ()) <-- [2]
>
> This patch is to remove the redundant one in [2].

That's fine, thanks.

--
Pedro Alves