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 /arch | |
parent | 4294a8eedb17bbc45e1e7447c2a4d05332943248 (diff) | |
download | lwn-c8308b1c91056b09e96d40dbde4880ea685c377e.tar.gz lwn-c8308b1c91056b09e96d40dbde4880ea685c377e.zip |
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 'arch')
0 files changed, 0 insertions, 0 deletions