diff options
| author | Saurabh Sengar <saurabh.truth@gmail.com> | 2015-11-23 16:32:15 +0300 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-11-24 22:34:41 +0300 | 
| commit | 724fe6955c88db8b249681cd78a76c10163bb0ba (patch) | |
| tree | ba16676fda80443f6265ed8c5887f3a54781d0f2 /tools/perf/scripts/python/netdev-times.py | |
| parent | 8e017e00bc480753d1f9fb2a1d708f49c6937ec0 (diff) | |
| download | linux-724fe6955c88db8b249681cd78a76c10163bb0ba.tar.xz | |
drivers: net: xgene: optimizing the code
this patch does the following:
1 .  remove unnecessary if, else condition
2 .  reduce one variable
3 .  change the return type of 2 functions to void as there return values
turn out to be 0 always after above changes
Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
