commit | df53f02eb6130c18c7e492f62f7567a885d3aae1 | [log] [tgz] |
---|---|---|
author | Radha krishna Simha Jiguru <rjiguru@codeaurora.org> | Mon Nov 09 12:31:26 2015 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Nov 10 23:03:02 2015 -0800 |
tree | db706bf970682b6b7a9b2ed0da4fc79ccf8684f7 | |
parent | 66e889d37ec64cb97eb0db9afb837b8697a13602 [diff] [blame] |
[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));