mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 01:04:08 +08:00
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
@ -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 New Issue
Block a user