diff options
author | Todd Poynor <toddpoynor@google.com> | 2018-08-09 20:20:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-27 19:43:42 +0200 |
commit | 4cfc2bff29cadf9c0df9723adbce1fce7ee33281 (patch) | |
tree | a0a191d32cccd0621ceef9b1db09d53e20e86d2c /drivers/staging/gasket | |
parent | 9323bbfa140ca565be637c955e8420ec51ae43f5 (diff) | |
download | linux-stable-4cfc2bff29cadf9c0df9723adbce1fce7ee33281.tar.gz linux-stable-4cfc2bff29cadf9c0df9723adbce1fce7ee33281.tar.bz2 linux-stable-4cfc2bff29cadf9c0df9723adbce1fce7ee33281.zip |
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>
Diffstat (limited to 'drivers/staging/gasket')
-rw-r--r-- | drivers/staging/gasket/gasket_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c index d12ab560411f..37d14e30ffa2 100644 --- a/drivers/staging/gasket/gasket_core.c +++ b/drivers/staging/gasket/gasket_core.c @@ -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. */ |