mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
haven: rm: Remove pr_err on get_vmid
If RM is not set up, drivers such as ion may be frequently calling hh_rm_get_vmid and causing a console message that a VMID could not be found. Drivers should be correctly handling the error case, so remove the pr_err here to not fill console messages. Change-Id: I2026d9481b6d58a89fb2f546bf76b29566e5f3d7 Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
18175354e0
commit
21a9eb8e4b
1 changed files with 1 additions and 4 deletions
|
|
@ -48,11 +48,8 @@ int hh_rm_get_vmid(enum hh_vm_names vm_name, hh_vmid_t *vmid)
|
|||
{
|
||||
hh_vmid_t _vmid = hh_vm_table[vm_name].vmid;
|
||||
|
||||
if (!_vmid && vm_name != HH_SELF_VM) {
|
||||
pr_err("%s: No vmid associated with the vm%d\n", __func__,
|
||||
vm_name);
|
||||
if (!_vmid && vm_name != HH_SELF_VM)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (vmid)
|
||||
*vmid = _vmid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue