diff options
author | Saurabh Sengar <saurabh.truth@gmail.com> | 2015-11-23 19:02:15 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-24 14:34:41 -0500 |
commit | 724fe6955c88db8b249681cd78a76c10163bb0ba (patch) | |
tree | ba16676fda80443f6265ed8c5887f3a54781d0f2 /drivers/net/ethernet/freescale | |
parent | 8e017e00bc480753d1f9fb2a1d708f49c6937ec0 (diff) | |
download | op-kernel-dev-724fe6955c88db8b249681cd78a76c10163bb0ba.zip op-kernel-dev-724fe6955c88db8b249681cd78a76c10163bb0ba.tar.gz |
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 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions