staging: greybus: audio_module: remove redundant OOM message
All kmalloc-based functions print enough information on failure Signed-off-by: Srikant Ritolia <s.ritolia@samsung.com> Acked-by: Johan Hovold <johan@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9b33f918c0
commit
3282998c80
1 changed files with 1 additions and 3 deletions
|
@ -207,10 +207,8 @@ static int gb_audio_add_data_connection(struct gbaudio_module_info *gbmodule,
|
|||
struct gbaudio_data_connection *dai;
|
||||
|
||||
dai = devm_kzalloc(gbmodule->dev, sizeof(*dai), GFP_KERNEL);
|
||||
if (!dai) {
|
||||
dev_err(gbmodule->dev, "DAI Malloc failure\n");
|
||||
if (!dai)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
connection = gb_connection_create_offloaded(bundle,
|
||||
le16_to_cpu(cport_desc->id),
|
||||
|
|
Loading…
Reference in a new issue