diff options
| author | Liangliang Lu <luliang@codeaurora.org> | 2018-06-28 10:47:42 +0800 |
|---|---|---|
| committer | Liangliang Lu <luliang@codeaurora.org> | 2018-06-28 11:10:55 +0800 |
| commit | 75ecefd3a143bf444007fdce739e448aac183dba (patch) | |
| tree | 19a0e27552ed57f10489d917eb3b287d2a89361a | |
| parent | e130a419a73ab080f845d1ffcc8b3e63d6738535 (diff) | |
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>
| -rw-r--r-- | drivers/usb/gadget/function/f_fs.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c index 9edc01692142..1a8dfcaa1bf7 100644 --- a/drivers/usb/gadget/function/f_fs.c +++ b/drivers/usb/gadget/function/f_fs.c @@ -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; } |
