commit | 724fe6955c88db8b249681cd78a76c10163bb0ba | [log] [tgz] |
---|---|---|
author | Saurabh Sengar <saurabh.truth@gmail.com> | Mon Nov 23 19:02:15 2015 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 24 14:34:41 2015 -0500 |
tree | ba16676fda80443f6265ed8c5887f3a54781d0f2 | |
parent | 8e017e00bc480753d1f9fb2a1d708f49c6937ec0 [diff] |
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>