aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/fec_main.c
diff options
context:
space:
mode:
authorSaurabh Sengar <saurabh.truth@gmail.com>2015-11-23 19:02:15 +0530
committerDavid S. Miller <davem@davemloft.net>2015-11-24 14:34:41 -0500
commit724fe6955c88db8b249681cd78a76c10163bb0ba (patch)
treeba16676fda80443f6265ed8c5887f3a54781d0f2 /drivers/net/ethernet/freescale/fec_main.c
parentMerge tag 'linux-can-next-for-4.5-20151123' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next (diff)
downloadlinux-dev-724fe6955c88db8b249681cd78a76c10163bb0ba.tar.xz
linux-dev-724fe6955c88db8b249681cd78a76c10163bb0ba.zip
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/fec_main.c')
0 files changed, 0 insertions, 0 deletions