diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2010-02-23 04:04:23 -0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-03-03 14:47:59 -0500 |
commit | c8308b1c91056b09e96d40dbde4880ea685c377e (patch) | |
tree | bfaf1f636ef161f5410cd8ba8a1e3b023fd0c33b /Documentation/DocBook/mcabook.tmpl | |
parent | 4294a8eedb17bbc45e1e7447c2a4d05332943248 (diff) | |
download | op-kernel-dev-c8308b1c91056b09e96d40dbde4880ea685c377e.zip op-kernel-dev-c8308b1c91056b09e96d40dbde4880ea685c377e.tar.gz |
mqueue: remove unneeded info->messages initialization
... and abort earlier if we couldn't allocate the message pointers array,
avoiding the u->mq_bytes accounting logic.
It reduces code size:
text data bss dec hex filename
9949 72 16 10037 2735 ipc/mqueue-BEFORE.o
9941 72 16 10029 272d ipc/mqueue-AFTER.o
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/DocBook/mcabook.tmpl')
0 files changed, 0 insertions, 0 deletions