usb: gadget: ffs: Remove IPC context create failure log
In the case CONFIG_IPC_LOGGING is not defined, ipc_log_context_create() return NULL. Remove error log about IPC context create failure to avoid confuse. Change-Id: Ia03528400f3bc9719de2676820f5a676281181b0 Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
This commit is contained in:
parent
e130a419a7
commit
75ecefd3a1
1 changed files with 1 additions and 4 deletions
|
@ -4295,11 +4295,8 @@ DECLARE_USB_FUNCTION_INIT(ffs, ffs_alloc_inst, ffs_alloc);
|
||||||
static int ffs_init(void)
|
static int ffs_init(void)
|
||||||
{
|
{
|
||||||
ffs_ipc_log = ipc_log_context_create(NUM_PAGES, "f_fs", 0);
|
ffs_ipc_log = ipc_log_context_create(NUM_PAGES, "f_fs", 0);
|
||||||
if (IS_ERR_OR_NULL(ffs_ipc_log)) {
|
if (IS_ERR_OR_NULL(ffs_ipc_log))
|
||||||
ffs_ipc_log = NULL;
|
ffs_ipc_log = NULL;
|
||||||
pr_err("%s: Create IPC log context failure\n",
|
|
||||||
__func__);
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue