[qca-nss-drv] Fix Klockwork error

Change-Id: Ib7a94b2edb4b5cb5f1ad3391df2eaa0750cb7486
Signed-off-by: Poddar,Sourav <souravp@codeaurora.org>
Signed-off-by: Radha krishna Simha Jiguru <rjiguru@codeaurora.org>
diff --git a/nss_stats.c b/nss_stats.c
index 591294e..7a7a75b 100644
--- a/nss_stats.c
+++ b/nss_stats.c
@@ -1696,8 +1696,7 @@
 		tcnt = s->node_stats.rx_dropped;
 		break;
 	default:
-		i = 6;
-		break;
+		return 0;
 	}
 
 	return (snprintf(line, len, "%s = %llu\n", header[i], tcnt));