]> git.proxmox.com Git - mirror_qemu.git/commit
cutils: remove one unnecessary pointer operation
authorWei Yang <richardw.yang@linux.intel.com>
Mon, 10 Jun 2019 03:08:51 +0000 (11:08 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 Jul 2019 13:39:02 +0000 (15:39 +0200)
commit7c960d617ad4fee940c5bb4df96e91ae31f55d18
tree0761d453f8f46442b48fc73ae4ff83f1a7df254b
parentca3538039012258973ab75775109dbe9577097f6
cutils: remove one unnecessary pointer operation

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 <richardw.yang@linux.intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190610030852.16039-2-richardw.yang@linux.intel.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
util/cutils.c