nfc: st-nci: Remove pr_err in rcv_queue when ndlc header is unknown
authorChristophe Ricard <christophe.ricard@gmail.com>
Fri, 14 Aug 2015 20:33:39 +0000 (22:33 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 16 Aug 2015 23:27:23 +0000 (01:27 +0200)
spi phy needs to use ndlc_recv at every spi transaction causing
"unknown packet control byte" error message each time the header
is 00. Make this silent.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/ndlc.c

index 4f51649d0e7553d81c100f4559dec539a2c025e0..d2cf84e680c655d19d6e09f44ee73024b1630304 100644 (file)
@@ -194,7 +194,6 @@ static void llt_ndlc_rcv_queue(struct llt_ndlc *ndlc)
                                          msecs_to_jiffies(NDLC_TIMER_T1_WAIT));
                                break;
                        default:
-                               pr_err("UNKNOWN Packet Control Byte=%d\n", pcb);
                                kfree_skb(skb);
                                break;
                        }