logread: don't call shmdt() before exit, kernel does it for us.
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Nov 2013 11:02:18 +0000 (12:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Nov 2013 11:02:18 +0000 (12:02 +0100)
commit26ad256bd0badc17d70f347c27cf5ed0699eccc5
tree4986260e9df19b5549ffb22ac7768fab8b9ddcfa
parent71f6c1aa433fb2be5c3e583ca350c1f9931817a5
logread: don't call shmdt() before exit, kernel does it for us.

function                                             old     new   delta
logread_main                                         472     466      -6
interrupted                                           20       9     -11
error_exit                                            20       -     -20
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-37)             Total: -37 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
sysklogd/logread.c