|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH 1/2] cutils: remove one unnecessary pointer operation |
Date: | Wed, 12 Jun 2019 12:17:09 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Wei Yang <address@hidden> wrote: > Since we will not operate on the next address pointed by out, it is not > necessary to do addition on it. > > After removing the operation, the function size reduced 16/18 bytes. > > Signed-off-by: Wei Yang <address@hidden> Reviewed-by: Juan Quintela <address@hidden> Included. I agree with David that the compiler should detect that, but also agreed that it shouldn't be there in the first place.
[Prev in Thread] | Current Thread | [Next in Thread] |