mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 09:48:39 +07:00
staging: gasket: core: remove debug log that could crash
A debug log in gasket_alloc_dev() is issued regardless of whether the device pointer used returned success or error. The log isn't that useful anyway, remove it. Signed-off-by: Todd Poynor <toddpoynor@google.com> Reviewed-by: Rob Springer <rspringer@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9323bbfa14
commit
4cfc2bff29
@ -234,8 +234,6 @@ static int gasket_alloc_dev(struct gasket_internal_desc *internal_desc,
|
||||
dev_info->device = device_create(internal_desc->class, parent,
|
||||
dev_info->devt, gasket_dev, dev_info->name);
|
||||
|
||||
dev_dbg(dev_info->device, "Gasket device allocated.\n");
|
||||
|
||||
/* cdev has not yet been added; cdev_added is 0 */
|
||||
dev_info->gasket_dev_ptr = gasket_dev;
|
||||
/* ownership is all 0, indicating no owner or opens. */
|
||||
|
Loading…
Reference in New Issue
Block a user