soc: qcom: hab: clean the compilation issues

This fixes the hab compilation issues found when
CONFIG_GHS_VMM is enabled.

Change-Id: Ie4b6aca5f0a7f549273d939dd6069e55db7877c4
Signed-off-by: Yong Ding <yongding@codeaurora.org>
This commit is contained in:
Yong Ding 2018-06-19 16:26:30 +08:00 committed by Gerrit - the friendly Code Review server
parent 333c319df3
commit 3a1f559efa
2 changed files with 1 additions and 4 deletions

View file

@ -129,7 +129,7 @@ void physical_channel_rx_dispatch(unsigned long physical_channel)
/* no more pending msg */
break;
}
pr_error("recv unhandled result %d, size %zd\n",
pr_err("recv unhandled result %d, size %zd\n",
result, dev->read_size);
break;
}

View file

@ -184,9 +184,6 @@ int habhyp_commdev_dealloc(void *commdev)
struct ghs_vdev *dev = pchan->hyp_data;
kgipc_endpoint_free(dev->endpoint);
spin_lock_destroy(&dev->io_lock);
kfree(dev->read_data);
kfree(dev);