diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2018-03-02 13:20:49 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-03-05 15:58:36 -0800 |
commit | b814735f5ca477a6d4f446f00d16da4a18e33bf5 (patch) | |
tree | a9a624df0a3e797a6f9bb642aeb74c4dbfb9265e /drivers/acpi/nfit/mce.c | |
parent | 661e50bc853209e41a5c14a290ca4decc43cbfd1 (diff) |
acpi, nfit: remove redundant __func__ in dev_dbg
Dynamic debug can be instructed to add the function name to the debug
output using the +f switch, so there is no need for the nfit module to
do it again. If a user decides to add the +f switch for nfit's dynamic
debug this results in double prints of the function name like the
following:
[ 2391.935383] acpi_nfit_ctl: nfit ACPI0012:00: acpi_nfit_ctl:nmem8 cmd: 10: func: 1 input length: 0
Thus remove the stray __func__ printing.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi/nfit/mce.c')
-rw-r--r-- | drivers/acpi/nfit/mce.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/nfit/mce.c b/drivers/acpi/nfit/mce.c index b92921439657..e9626bf6ca29 100644 --- a/drivers/acpi/nfit/mce.c +++ b/drivers/acpi/nfit/mce.c @@ -51,9 +51,8 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, if ((spa->address + spa->length - 1) < mce->addr) continue; found_match = 1; - dev_dbg(dev, "%s: addr in SPA %d (0x%llx, 0x%llx)\n", - __func__, spa->range_index, spa->address, - spa->length); + dev_dbg(dev, "addr in SPA %d (0x%llx, 0x%llx)\n", + spa->range_index, spa->address, spa->length); /* * We can break at the first match because we're going * to rescan all the SPA ranges. There shouldn't be any |