summaryrefslogtreecommitdiff
path: root/addons/chan_mobile.c
diff options
context:
space:
mode:
Diffstat (limited to 'addons/chan_mobile.c')
-rw-r--r--addons/chan_mobile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c
index 26e4abd7d..f5d5b4e1a 100644
--- a/addons/chan_mobile.c
+++ b/addons/chan_mobile.c
@@ -1339,9 +1339,7 @@ static int mbl_queue_hangup(struct mbl_pvt *pvt)
static int mbl_ast_hangup(struct mbl_pvt *pvt)
{
- if (pvt->owner) {
- ast_hangup(pvt->owner);
- }
+ ast_hangup(pvt->owner);
return 0;
}