From: Andy Shevchenko Date: Mon, 29 Jul 2019 13:35:11 +0000 (+0300) Subject: NFC: nxp-nci: Remove unused macro pr_fmt() X-Git-Tag: v5.4-rc1~131^2~341^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b11dc5712c30cf56b73e9f67a815e7c728c67be;p=platform%2Fkernel%2Flinux-rpi.git NFC: nxp-nci: Remove unused macro pr_fmt() The macro had never been used. The driver uses mostly the nfc_err(), which, with other macros in the family, is backed by corresponding dev_err(). pr_fmt() is not used for dev_err() macro. Moreover, there is no need to print the module name which is part of the device instance name anyway. Signed-off-by: Andy Shevchenko Tested-by: Sedat Dilek Signed-off-by: David S. Miller --- diff --git a/drivers/nfc/nxp-nci/i2c.c b/drivers/nfc/nxp-nci/i2c.c index 59b0a02..307bd2a 100644 --- a/drivers/nfc/nxp-nci/i2c.c +++ b/drivers/nfc/nxp-nci/i2c.c @@ -12,8 +12,6 @@ * Copyright (C) 2012 Intel Corporation. All rights reserved. */ -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt - #include #include #include