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:
Liangliang Lu 2018-06-28 10:47:42 +08:00
parent e130a419a7
commit 75ecefd3a1

View file

@ -4295,11 +4295,8 @@ DECLARE_USB_FUNCTION_INIT(ffs, ffs_alloc_inst, ffs_alloc);
static int ffs_init(void)
{
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;
pr_err("%s: Create IPC log context failure\n",
__func__);
}
return 0;
}