signal/all/setup_frame remove __put_user checks
commit0188fadb7fe460d8c4c743372b1f7b25773e183e
authorRiku Voipio <riku.voipio@linaro.org>
Wed, 23 Apr 2014 10:34:15 +0000 (23 13:34 +0300)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 17 Jun 2014 05:52:07 +0000 (17 08:52 +0300)
treeb1631fbb695f96d1048ae8f0ca6f36ab701be252
parentf5f601afcec6c1081128fe5a0f831788ca9f56ed
signal/all/setup_frame remove __put_user checks

Remove "if(__put_user" checks and their related error paths
for all architecture's setup_frame, setup_rt_frame and similar.

Remove the unlock_user_struct when the only way to end up there is
from failed lock_user_struct.

Remove err variable if there are no users for it in the function
anymore.

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
linux-user/signal.c