From 150da0cba9269264473a9f8427f5cfaf6310d33f Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 4 Mar 2012 11:33:22 +0100 Subject: [PATCH] Remove silly and incorrect error message. Commit 32133050 introduced a bug that gives a bogus error message on every 'general' (non-event) PTP packet. If we want to catch missing time stamps, then it has to occur at the port level. Signed-off-by: Richard Cochran --- udp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/udp.c b/udp.c index ef4ac86..8a3dc7b 100644 --- a/udp.c +++ b/udp.c @@ -298,8 +298,6 @@ static int receive(int fd, void *buf, int buflen, if (!ts) { memset(&hwts->ts, 0, sizeof(hwts->ts)); - if (cnt > 0) - pr_err("missing SO_TIMESTAMPING message"); return cnt; }