Re: [PATCH 08/11] NFC: pn533: reduce output when stopping poll

From: Samuel Ortiz
Date: Sun May 01 2016 - 19:18:17 EST


Hi Michael,

On Thu, Apr 21, 2016 at 04:43:56PM +0200, Michael Thalmeier wrote:
> @@ -1259,7 +1259,8 @@ static int pn533_rf_complete(struct pn533 *dev, void *arg,
> if (IS_ERR(resp)) {
> rc = PTR_ERR(resp);
>
> - nfc_err(dev->dev, "RF setting error %d\n", rc);
> + if (rc != -ENOENT)
> + nfc_err(dev->dev, "RF setting error %d\n", rc);
Why ?


>
> return rc;
> }
> @@ -1416,9 +1417,6 @@ static int pn533_poll_complete(struct pn533 *dev, void *arg,
> if (IS_ERR(resp)) {
> rc = PTR_ERR(resp);
>
> - nfc_err(dev->dev, "%s Poll complete error %d\n",
> - __func__, rc);
> -
Why are you removing that one ?

Cheers,
Samuel.