Remove the unreachable switch case TS_SOFTWARE.

Signed-off-by: Siddharth Vadapalli <s-vadapa...@ti.com>
---
 sk.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sk.c b/sk.c
index b55d6b5..a49bcf4 100644
--- a/sk.c
+++ b/sk.c
@@ -477,9 +477,6 @@ int sk_timestamping_init(int fd, const char *device, enum 
timestamp_type type,
        if (type != TS_SOFTWARE) {
                filter1 = HWTSTAMP_FILTER_PTP_V2_EVENT;
                switch (type) {
-               case TS_SOFTWARE:
-                       tx_type = HWTSTAMP_TX_OFF;
-                       break;
                case TS_HARDWARE:
                case TS_LEGACY_HW:
                        tx_type = HWTSTAMP_TX_ON;
-- 
2.37.1



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to