staging: most: out of memory error
If kzalloc fails it will print lots of debugging information in the log, no need to have another in the code. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ba857e0ff0
commit
c704dfbe45
@ -412,7 +412,6 @@ static int aim_probe(struct most_interface *iface, int channel_id,
|
||||
|
||||
channel = kzalloc(sizeof(*channel), GFP_KERNEL);
|
||||
if (!channel) {
|
||||
pr_info("failed to alloc channel object\n");
|
||||
retval = -ENOMEM;
|
||||
goto error_alloc_channel;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user