ptp: Fix example program to match kernel.
authorRichard Cochran <richardcochran@gmail.com>
Mon, 20 May 2019 05:15:05 +0000 (22:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 May 2019 00:23:52 +0000 (20:23 -0400)
commite3d8e588c7cb185759994e22953e599a918e3cc3
treed948b42c4caec639ec9dfb536289e3a7b566ceae
parentd97c6f6830881864b29f6fd4ce80a5c409a3e1f0
ptp: Fix example program to match kernel.

Ever since commit 3a06c7ac24f9 ("posix-clocks: Remove interval timer
facility and mmap/fasync callbacks") the possibility of PHC based
posix timers has been removed.  In addition it will probably never
make sense to implement this functionality.

This patch removes the misleading example code which seems to suggest
that posix timers for PHC devices will ever be a thing.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/ptp/testptp.c